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

Side by Side Diff: chrome/browser/sync/glue/favicon_cache.cc

Issue 983043003: Componentize FaviconService and FaviconHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@favicon_service
Patch Set: Fix android_aosp (reverted the change by mistake by switching computer) Created 5 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/sync/glue/favicon_cache.h" 5 #include "chrome/browser/sync/glue/favicon_cache.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "chrome/browser/favicon/favicon_service.h"
10 #include "chrome/browser/favicon/favicon_service_factory.h" 9 #include "chrome/browser/favicon/favicon_service_factory.h"
11 #include "chrome/browser/history/history_service_factory.h" 10 #include "chrome/browser/history/history_service_factory.h"
11 #include "components/favicon/core/browser/favicon_service.h"
12 #include "components/history/core/browser/history_service.h" 12 #include "components/history/core/browser/history_service.h"
13 #include "components/history/core/browser/history_types.h" 13 #include "components/history/core/browser/history_types.h"
14 #include "sync/api/time.h" 14 #include "sync/api/time.h"
15 #include "sync/protocol/favicon_image_specifics.pb.h" 15 #include "sync/protocol/favicon_image_specifics.pb.h"
16 #include "sync/protocol/favicon_tracking_specifics.pb.h" 16 #include "sync/protocol/favicon_tracking_specifics.pb.h"
17 #include "sync/protocol/sync.pb.h" 17 #include "sync/protocol/sync.pb.h"
18 #include "ui/gfx/favicon_size.h" 18 #include "ui/gfx/favicon_size.h"
19 19
20 namespace browser_sync { 20 namespace browser_sync {
21 21
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 favicon_images_sync_processor_->ProcessSyncChanges(FROM_HERE, 1059 favicon_images_sync_processor_->ProcessSyncChanges(FROM_HERE,
1060 image_deletions); 1060 image_deletions);
1061 } 1061 }
1062 if (favicon_tracking_sync_processor_.get()) { 1062 if (favicon_tracking_sync_processor_.get()) {
1063 favicon_tracking_sync_processor_->ProcessSyncChanges(FROM_HERE, 1063 favicon_tracking_sync_processor_->ProcessSyncChanges(FROM_HERE,
1064 tracking_deletions); 1064 tracking_deletions);
1065 } 1065 }
1066 } 1066 }
1067 1067
1068 } // namespace browser_sync 1068 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/bookmark_change_processor.cc ('k') | chrome/browser/sync/test/integration/bookmarks_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698