HomeSort by relevance Sort by last modified time
    Searched refs:history_ (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/content/browser/download/
rate_estimator.cc 22 : history_(kDefaultNumBuckets),
32 : history_(num_buckets),
54 DCHECK(index_offset <= history_.size());
55 int current_index = (oldest_index_ + delta_buckets) % history_.size();
56 history_[current_index] += count;
71 size_t index = (oldest_index_ + i) % history_.size();
72 total_count += history_[index];
91 if (delta_index < history_.size()) {
98 size_t extra_buckets = delta_index - history_.size() + 1;
99 if (extra_buckets > history_.size())
    [all...]
rate_estimator.h 43 std::vector<uint32> history_; member in class:content::RateEstimator
  /external/chromium_org/chrome/browser/drive/
event_logger.cc 30 history_.push_back(Event(next_event_id_, severity, what));
32 if (history_.size() > history_size_)
33 history_.pop_front();
38 history_.clear();
45 output.assign(history_.begin(), history_.end());
event_logger.h 54 std::deque<Event> history_; // guarded by lock_. member in class:drive::EventLogger
  /external/chromium/chrome/browser/history/
history_querying_unittest.cc 79 history_->QueryHistory(UTF8ToUTF16(text_query), options, &consumer_,
86 scoped_refptr<HistoryService> history_; member in class:history::HistoryQueryTest
94 history_ = new HistoryService;
95 if (!history_->Init(history_dir_, NULL)) {
96 history_ = NULL; // Tests should notice this NULL ptr & fail.
111 history_->AddPage(url, test_entries[i].time, id_scope, page_id, GURL(),
114 history_->SetPageTitle(url, UTF8ToUTF16(test_entries[i].title));
115 history_->SetPageContents(url, UTF8ToUTF16(test_entries[i].body));
120 if (history_.get()) {
121 history_->SetOnBackendDestroyTask(new MessageLoop::QuitTask)
    [all...]
  /external/chromium_org/chrome/browser/ui/app_list/search/
search_controller.cc 47 history_(HistoryFactory::GetForBrowserContext(profile)) {
114 if (history_ && history_->IsReady()) {
115 history_->AddLaunchEvent(UTF16ToUTF8(search_box_->text()),
142 if (history_ && history_->IsReady()) {
143 history_->GetKnownResults(UTF16ToUTF8(search_box_->text()))
history_unittest.cc 125 history_.reset(new History(profile_.get()));
128 history_->data_->RemoveObserver(history_.get());
129 history_->data_.reset(
130 new HistoryData(history_->store_.get(), kMaxPrimary, kMaxSecondary));
131 history_->data_->AddObserver(history_.get());
133 HistoryDataLoadWaiter waiter(history_->data_.get());
135 ASSERT_TRUE(history_->IsReady());
139 StoreFlushWaiter waiter(history_->store_.get())
164 scoped_ptr<History> history_; member in class:app_list::test::SearchHistoryTest
    [all...]
search_controller.h 63 History* history_; // BrowserContextKeyedService, not owned. member in class:app_list::SearchController
  /external/chromium_org/chrome/browser/history/
history_querying_unittest.cc 80 history_->QueryHistory(
95 ASSERT_TRUE(history_.get());
142 scoped_ptr<HistoryService> history_; member in class:history::HistoryQueryTest
152 history_->AddPage(url, entry.time, id_scope, page_id_++, GURL(),
155 history_->SetPageTitle(url, UTF8ToUTF16(entry.title));
164 history_.reset(new HistoryService);
165 if (!history_->Init(history_dir_, NULL)) {
166 history_.reset(); // Tests should notice this NULL ptr & fail.
180 if (history_) {
181 history_->SetOnBackendDestroyTask(base::MessageLoop::QuitClosure())
    [all...]
  /external/chromium_org/content/browser/speech/endpointer/
energy_endpointer.cc 135 history_(new HistoryRing()),
164 history_->SetRing(TimeToFrame(max_window_dur_), false);
253 history_->Insert(endpointer_time_us_, decision);
257 if (history_->RingSum(params_.onset_window()) >
264 float tsum = history_->RingSum(params_.onset_window());
278 float on_time = history_->RingSum(params_.speech_on_window());
285 if (history_->RingSum(params_.offset_window()) <=
292 if (history_->RingSum(params_.speech_on_window()) >=
372 *status_time = history_->EndTime();
energy_endpointer.h 122 scoped_ptr<HistoryRing> history_; member in class:content::EnergyEndpointer
  /external/chromium_org/chrome/browser/download/
download_history.h 48 HistoryService* history_; member in class:DownloadHistory::HistoryAdapter
88 // Callback from |history_| containing all entries in the downloads database
93 // May add |item| to |history_|.
96 // Callback from |history_| when an item was successfully inserted into the
110 // Schedule a record to be removed from |history_| the next time
115 // Removes all |removing_ids_| from |history_|.
120 scoped_ptr<HistoryAdapter> history_; member in class:DownloadHistory
download_history.cc 156 : history_(history) {
162 history_->QueryDownloads(callback);
168 history_->CreateDownload(info, callback);
173 history_->UpdateDownload(data);
178 history_->RemoveDownloads(ids);
193 history_(history.Pass()),
204 history_->QueryDownloads(base::Bind(
283 history_->CreateDownload(*data->info(), base::Bind(
374 history_->UpdateDownload(current_info);
397 // ScheduleRemoveDownload will be called when history_ calls ItemAdded()
    [all...]
download_history_unittest.cc 205 history_(NULL),
269 history_ = new FakeHistoryAdapter();
270 history_->ExpectWillQueryDownloads(infos.Pass());
273 &manager(), scoped_ptr<DownloadHistory::HistoryAdapter>(history_)));
275 history_->ExpectQueryDownloadsDone();
292 history_->set_slow_create_download(slow);
297 history_->FinishCreateDownload();
302 history_->FailCreateDownload();
308 history_->ExpectDownloadCreated(info);
313 history_->ExpectNoDownloadCreated()
463 FakeHistoryAdapter* history_; member in class:__anon7127::DownloadHistoryTest
    [all...]
  /external/chromium/chrome/browser/ui/gtk/importer/
import_progress_dialog_gtk.cc 98 history_ = gtk_label_new(
100 gtk_misc_set_alignment(GTK_MISC(history_), 0, 0.5);
101 gtk_box_pack_start(GTK_BOX(item_box), history_, FALSE, FALSE, 0); local
178 SetItemImportStatus(history_,
202 SetItemImportStatus(history_,
import_progress_dialog_gtk.h 71 GtkWidget* history_; member in class:ImportProgressDialogGtk

Completed in 1752 milliseconds