history_ 156 chrome/browser/download/download_history.cc : history_(history) { history_ 162 chrome/browser/download/download_history.cc history_->QueryDownloads(callback); history_ 168 chrome/browser/download/download_history.cc history_->CreateDownload(info, callback); history_ 173 chrome/browser/download/download_history.cc history_->UpdateDownload(data); history_ 178 chrome/browser/download/download_history.cc history_->RemoveDownloads(ids); history_ 193 chrome/browser/download/download_history.cc history_(history.Pass()), history_ 204 chrome/browser/download/download_history.cc history_->QueryDownloads(base::Bind( history_ 283 chrome/browser/download/download_history.cc history_->CreateDownload(*data->info(), base::Bind( history_ 374 chrome/browser/download/download_history.cc history_->UpdateDownload(current_info); history_ 429 chrome/browser/download/download_history.cc history_->RemoveDownloads(remove_ids); history_ 48 chrome/browser/download/download_history.h HistoryService* history_; history_ 120 chrome/browser/download/download_history.h scoped_ptr<HistoryAdapter> history_; history_ 199 chrome/browser/download/download_history_unittest.cc history_(NULL), history_ 263 chrome/browser/download/download_history_unittest.cc history_ = new FakeHistoryAdapter(); history_ 264 chrome/browser/download/download_history_unittest.cc history_->ExpectWillQueryDownloads(infos.Pass()); history_ 267 chrome/browser/download/download_history_unittest.cc &manager(), scoped_ptr<DownloadHistory::HistoryAdapter>(history_))); history_ 269 chrome/browser/download/download_history_unittest.cc history_->ExpectQueryDownloadsDone(); history_ 286 chrome/browser/download/download_history_unittest.cc history_->set_slow_create_download(slow); history_ 291 chrome/browser/download/download_history_unittest.cc history_->FinishCreateDownload(); history_ 296 chrome/browser/download/download_history_unittest.cc history_->FailCreateDownload(); history_ 302 chrome/browser/download/download_history_unittest.cc history_->ExpectDownloadCreated(info); history_ 307 chrome/browser/download/download_history_unittest.cc history_->ExpectNoDownloadCreated(); history_ 312 chrome/browser/download/download_history_unittest.cc history_->ExpectDownloadUpdated(info); history_ 317 chrome/browser/download/download_history_unittest.cc history_->ExpectNoDownloadUpdated(); history_ 322 chrome/browser/download/download_history_unittest.cc history_->ExpectNoDownloadsRemoved(); history_ 327 chrome/browser/download/download_history_unittest.cc history_->ExpectDownloadsRemoved(ids); history_ 457 chrome/browser/download/download_history_unittest.cc FakeHistoryAdapter* history_; history_ 31 chrome/browser/drive/event_logger.cc history_.push_back(Event(next_event_id_, severity, what)); history_ 33 chrome/browser/drive/event_logger.cc if (history_.size() > history_size_) history_ 34 chrome/browser/drive/event_logger.cc history_.pop_front(); history_ 51 chrome/browser/drive/event_logger.cc history_.clear(); history_ 58 chrome/browser/drive/event_logger.cc output.assign(history_.begin(), history_.end()); history_ 59 chrome/browser/drive/event_logger.h std::deque<Event> history_; // guarded by lock_. history_ 81 chrome/browser/history/history_querying_unittest.cc history_->QueryHistory( history_ 96 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 143 chrome/browser/history/history_querying_unittest.cc scoped_ptr<HistoryService> history_; history_ 153 chrome/browser/history/history_querying_unittest.cc history_->AddPage(url, entry.time, id_scope, page_id_++, GURL(), history_ 156 chrome/browser/history/history_querying_unittest.cc history_->SetPageTitle(url, base::UTF8ToUTF16(entry.title)); history_ 165 chrome/browser/history/history_querying_unittest.cc history_.reset(new HistoryService); history_ 166 chrome/browser/history/history_querying_unittest.cc if (!history_->Init(history_dir_, NULL)) { history_ 167 chrome/browser/history/history_querying_unittest.cc history_.reset(); // Tests should notice this NULL ptr & fail. history_ 181 chrome/browser/history/history_querying_unittest.cc if (history_) { history_ 182 chrome/browser/history/history_querying_unittest.cc history_->SetOnBackendDestroyTask(base::MessageLoop::QuitClosure()); history_ 183 chrome/browser/history/history_querying_unittest.cc history_->Cleanup(); history_ 184 chrome/browser/history/history_querying_unittest.cc history_.reset(); history_ 210 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 239 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 254 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 319 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 349 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 364 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 390 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 404 chrome/browser/history/history_querying_unittest.cc history_->AddPagesWithDetails(urls_to_add, history::SOURCE_BROWSED); history_ 448 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(history_.get()); history_ 125 chrome/browser/ui/app_list/search/history_unittest.cc history_.reset(new History(profile_.get())); history_ 128 chrome/browser/ui/app_list/search/history_unittest.cc history_->data_->RemoveObserver(history_.get()); history_ 129 chrome/browser/ui/app_list/search/history_unittest.cc history_->data_.reset( history_ 130 chrome/browser/ui/app_list/search/history_unittest.cc new HistoryData(history_->store_.get(), kMaxPrimary, kMaxSecondary)); history_ 131 chrome/browser/ui/app_list/search/history_unittest.cc history_->data_->AddObserver(history_.get()); history_ 133 chrome/browser/ui/app_list/search/history_unittest.cc HistoryDataLoadWaiter waiter(history_->data_.get()); history_ 135 chrome/browser/ui/app_list/search/history_unittest.cc ASSERT_TRUE(history_->IsReady()); history_ 139 chrome/browser/ui/app_list/search/history_unittest.cc StoreFlushWaiter waiter(history_->store_.get()); history_ 154 chrome/browser/ui/app_list/search/history_unittest.cc History* history() { return history_.get(); } history_ 156 chrome/browser/ui/app_list/search/history_unittest.cc return history_->data_->associations(); history_ 164 chrome/browser/ui/app_list/search/history_unittest.cc scoped_ptr<History> history_; history_ 139 chrome/browser/ui/app_list/search/search_controller.cc if (history_ && history_->IsReady()) { history_ 140 chrome/browser/ui/app_list/search/search_controller.cc history_->AddLaunchEvent(base::UTF16ToUTF8(search_box_->text()), history_ 167 chrome/browser/ui/app_list/search/search_controller.cc if (history_ && history_->IsReady()) { history_ 168 chrome/browser/ui/app_list/search/search_controller.cc history_->GetKnownResults(base::UTF16ToUTF8(search_box_->text())) history_ 71 chrome/browser/ui/app_list/search/search_controller.h History* history_; // KeyedService, not owned. history_ 17 chrome/test/data/webui/history_ui_browsertest.cc : history_(NULL), history_ 28 chrome/test/data/webui/history_ui_browsertest.cc history_ = HistoryServiceFactory::GetForProfile(browser()->profile(), history_ 30 chrome/test/data/webui/history_ui_browsertest.cc ui_test_utils::WaitForHistoryToLoad(history_); history_ 40 chrome/test/data/webui/history_ui_browsertest.cc history_->AddPage(gurl, time, id_scope, page_id_++, GURL(), history_ 43 chrome/test/data/webui/history_ui_browsertest.cc history_->SetPageTitle(gurl, base::UTF8ToUTF16(title)); history_ 35 chrome/test/data/webui/history_ui_browsertest.h HistoryService* history_; history_ 22 content/browser/download/rate_estimator.cc : history_(kDefaultNumBuckets), history_ 32 content/browser/download/rate_estimator.cc : history_(num_buckets), history_ 54 content/browser/download/rate_estimator.cc DCHECK(index_offset <= history_.size()); history_ 55 content/browser/download/rate_estimator.cc int current_index = (oldest_index_ + delta_buckets) % history_.size(); history_ 56 content/browser/download/rate_estimator.cc history_[current_index] += count; history_ 71 content/browser/download/rate_estimator.cc size_t index = (oldest_index_ + i) % history_.size(); history_ 72 content/browser/download/rate_estimator.cc total_count += history_[index]; history_ 91 content/browser/download/rate_estimator.cc if (delta_index < history_.size()) { history_ 98 content/browser/download/rate_estimator.cc size_t extra_buckets = delta_index - history_.size() + 1; history_ 99 content/browser/download/rate_estimator.cc if (extra_buckets > history_.size()) { history_ 105 content/browser/download/rate_estimator.cc bucket_count_ = history_.size(); history_ 107 content/browser/download/rate_estimator.cc history_[oldest_index_] = 0; history_ 108 content/browser/download/rate_estimator.cc oldest_index_ = (oldest_index_ + 1) % history_.size(); history_ 114 content/browser/download/rate_estimator.cc for (size_t i = 0; i < history_.size(); ++i) { history_ 115 content/browser/download/rate_estimator.cc history_[i] = 0; history_ 43 content/browser/download/rate_estimator.h std::vector<uint32> history_; history_ 135 content/browser/speech/endpointer/energy_endpointer.cc history_(new HistoryRing()), history_ 164 content/browser/speech/endpointer/energy_endpointer.cc history_->SetRing(TimeToFrame(max_window_dur_), false); history_ 253 content/browser/speech/endpointer/energy_endpointer.cc history_->Insert(endpointer_time_us_, decision); history_ 257 content/browser/speech/endpointer/energy_endpointer.cc if (history_->RingSum(params_.onset_window()) > history_ 264 content/browser/speech/endpointer/energy_endpointer.cc float tsum = history_->RingSum(params_.onset_window()); history_ 278 content/browser/speech/endpointer/energy_endpointer.cc float on_time = history_->RingSum(params_.speech_on_window()); history_ 285 content/browser/speech/endpointer/energy_endpointer.cc if (history_->RingSum(params_.offset_window()) <= history_ 292 content/browser/speech/endpointer/energy_endpointer.cc if (history_->RingSum(params_.speech_on_window()) >= history_ 372 content/browser/speech/endpointer/energy_endpointer.cc *status_time = history_->EndTime(); history_ 122 content/browser/speech/endpointer/energy_endpointer.h scoped_ptr<HistoryRing> history_;