OLD | NEW |
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 Loading... |
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 |
OLD | NEW |