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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 30 matching lines...) Expand all
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"
43 #include "components/history/core/browser/history_types.h" 43 #include "components/history/core/browser/history_types.h"
44 #include "components/history/core/browser/in_memory_database.h" 44 #include "components/history/core/browser/in_memory_database.h"
45 #include "components/history/core/browser/in_memory_history_backend.h" 45 #include "components/history/core/browser/in_memory_history_backend.h"
46 #include "components/history/core/browser/keyword_search_term.h" 46 #include "components/history/core/browser/keyword_search_term.h"
47 #include "components/history/core/browser/visit_database.h" 47 #include "components/history/core/browser/visit_database.h"
48 #include "components/history/core/browser/visit_delegate.h" 48 #include "components/history/core/browser/visit_delegate.h"
49 #include "components/history/core/browser/web_history_service.h" 49 #include "components/history/core/browser/web_history_service.h"
50 #include "components/history/core/common/thumbnail_score.h" 50 #include "components/history/core/common/thumbnail_score.h"
51 #include "sync/api/sync_error_factory.h" 51 #include "components/sync/api/sync_error_factory.h"
52 #include "third_party/skia/include/core/SkBitmap.h" 52 #include "third_party/skia/include/core/SkBitmap.h"
53 53
54 #if defined(OS_IOS) 54 #if defined(OS_IOS)
55 #include "base/critical_closure.h" 55 #include "base/critical_closure.h"
56 #endif 56 #endif
57 57
58 using base::Time; 58 using base::Time;
59 59
60 namespace history { 60 namespace history {
61 namespace { 61 namespace {
(...skipping 1070 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
« no previous file with comments | « components/history/core/browser/history_service.h ('k') | components/history/core/browser/history_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698