Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: components/history/core/browser/history_service.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The history system runs on a background thread so that potentially slow 5 // The history system runs on a background thread so that potentially slow
6 // database operations don't delay the browser. This backend processing is 6 // database operations don't delay the browser. This backend processing is
7 // represented by HistoryBackend. The HistoryService's job is to dispatch to 7 // represented by HistoryBackend. The HistoryService's job is to dispatch to
8 // that thread. 8 // that thread.
9 // 9 //
10 // Main thread History thread 10 // Main thread History thread
(...skipping 10 matching lines...) Expand all
21 #include <utility> 21 #include <utility>
22 22
23 #include "base/bind_helpers.h" 23 #include "base/bind_helpers.h"
24 #include "base/callback.h" 24 #include "base/callback.h"
25 #include "base/command_line.h" 25 #include "base/command_line.h"
26 #include "base/compiler_specific.h" 26 #include "base/compiler_specific.h"
27 #include "base/location.h" 27 #include "base/location.h"
28 #include "base/memory/ref_counted.h" 28 #include "base/memory/ref_counted.h"
29 #include "base/metrics/histogram_macros.h" 29 #include "base/metrics/histogram_macros.h"
30 #include "base/single_thread_task_runner.h" 30 #include "base/single_thread_task_runner.h"
31 #include "base/thread_task_runner_handle.h"
32 #include "base/threading/thread.h" 31 #include "base/threading/thread.h"
32 #include "base/threading/thread_task_runner_handle.h"
33 #include "base/time/time.h" 33 #include "base/time/time.h"
34 #include "base/trace_event/trace_event.h" 34 #include "base/trace_event/trace_event.h"
35 #include "build/build_config.h" 35 #include "build/build_config.h"
36 #include "components/history/core/browser/download_row.h" 36 #include "components/history/core/browser/download_row.h"
37 #include "components/history/core/browser/history_backend.h" 37 #include "components/history/core/browser/history_backend.h"
38 #include "components/history/core/browser/history_backend_client.h" 38 #include "components/history/core/browser/history_backend_client.h"
39 #include "components/history/core/browser/history_client.h" 39 #include "components/history/core/browser/history_client.h"
40 #include "components/history/core/browser/history_database_params.h" 40 #include "components/history/core/browser/history_database_params.h"
41 #include "components/history/core/browser/history_db_task.h" 41 #include "components/history/core/browser/history_db_task.h"
42 #include "components/history/core/browser/history_service_observer.h" 42 #include "components/history/core/browser/history_service_observer.h"
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 return favicon_changed_callback_list_.Add(callback); 1132 return favicon_changed_callback_list_.Add(callback);
1133 } 1133 }
1134 1134
1135 void HistoryService::NotifyFaviconsChanged(const std::set<GURL>& page_urls, 1135 void HistoryService::NotifyFaviconsChanged(const std::set<GURL>& page_urls,
1136 const GURL& icon_url) { 1136 const GURL& icon_url) {
1137 DCHECK(thread_checker_.CalledOnValidThread()); 1137 DCHECK(thread_checker_.CalledOnValidThread());
1138 favicon_changed_callback_list_.Notify(page_urls, icon_url); 1138 favicon_changed_callback_list_.Notify(page_urls, icon_url);
1139 } 1139 }
1140 1140
1141 } // namespace history 1141 } // namespace history
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698