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 "components/sync_sessions/favicon_cache.h" | 5 #include "components/sync_sessions/favicon_cache.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
14 #include "components/favicon/core/favicon_service.h" | 14 #include "components/favicon/core/favicon_service.h" |
15 #include "components/history/core/browser/history_service.h" | 15 #include "components/history/core/browser/history_service.h" |
16 #include "components/history/core/browser/history_types.h" | 16 #include "components/history/core/browser/history_types.h" |
17 #include "sync/api/time.h" | 17 #include "sync/api/time.h" |
18 #include "sync/protocol/favicon_image_specifics.pb.h" | 18 #include "sync/protocol/favicon_image_specifics.pb.h" |
19 #include "sync/protocol/favicon_tracking_specifics.pb.h" | 19 #include "sync/protocol/favicon_tracking_specifics.pb.h" |
20 #include "sync/protocol/sync.pb.h" | 20 #include "sync/protocol/sync.pb.h" |
21 #include "ui/gfx/favicon_size.h" | 21 #include "ui/gfx/favicon_size.h" |
22 | 22 |
23 namespace browser_sync { | 23 namespace browser_sync { |
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 favicon_images_sync_processor_->ProcessSyncChanges(FROM_HERE, | 1049 favicon_images_sync_processor_->ProcessSyncChanges(FROM_HERE, |
1050 image_deletions); | 1050 image_deletions); |
1051 } | 1051 } |
1052 if (favicon_tracking_sync_processor_.get()) { | 1052 if (favicon_tracking_sync_processor_.get()) { |
1053 favicon_tracking_sync_processor_->ProcessSyncChanges(FROM_HERE, | 1053 favicon_tracking_sync_processor_->ProcessSyncChanges(FROM_HERE, |
1054 tracking_deletions); | 1054 tracking_deletions); |
1055 } | 1055 } |
1056 } | 1056 } |
1057 | 1057 |
1058 } // namespace browser_sync | 1058 } // namespace browser_sync |
OLD | NEW |