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

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

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 years, 6 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/sync_backend_host_impl.h" 5 #include "chrome/browser/sync/glue/sync_backend_host_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/chrome_notification_types.h" 12 #include "chrome/browser/chrome_notification_types.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/signin/chrome_signin_client_factory.h" 14 #include "chrome/browser/signin/chrome_signin_client_factory.h"
15 #include "chrome/browser/sync/glue/invalidation_helper.h" 15 #include "chrome/browser/sync/glue/invalidation_helper.h"
16 #include "chrome/browser/sync/glue/sync_backend_host_core.h" 16 #include "chrome/browser/sync/glue/sync_backend_host_core.h"
17 #include "chrome/browser/sync/glue/sync_backend_registrar.h" 17 #include "chrome/browser/sync/glue/sync_backend_registrar.h"
18 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
19 #include "components/invalidation/invalidation_service.h" 19 #include "components/invalidation/public/invalidation_service.h"
20 #include "components/invalidation/object_id_invalidation_map.h" 20 #include "components/invalidation/public/object_id_invalidation_map.h"
21 #include "components/network_time/network_time_tracker.h" 21 #include "components/network_time/network_time_tracker.h"
22 #include "components/signin/core/browser/signin_client.h" 22 #include "components/signin/core/browser/signin_client.h"
23 #include "components/sync_driver/sync_frontend.h" 23 #include "components/sync_driver/sync_frontend.h"
24 #include "components/sync_driver/sync_prefs.h" 24 #include "components/sync_driver/sync_prefs.h"
25 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
26 #include "content/public/browser/notification_details.h" 26 #include "content/public/browser/notification_details.h"
27 #include "content/public/browser/notification_source.h" 27 #include "content/public/browser/notification_source.h"
28 #include "sync/internal_api/public/base_transaction.h" 28 #include "sync/internal_api/public/base_transaction.h"
29 #include "sync/internal_api/public/events/protocol_event.h" 29 #include "sync/internal_api/public/events/protocol_event.h"
30 #include "sync/internal_api/public/http_bridge.h" 30 #include "sync/internal_api/public/http_bridge.h"
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 865
866 base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() { 866 base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() {
867 return registrar_->sync_thread()->message_loop(); 867 return registrar_->sync_thread()->message_loop();
868 } 868 }
869 869
870 } // namespace browser_sync 870 } // namespace browser_sync
871 871
872 #undef SDVLOG 872 #undef SDVLOG
873 873
874 #undef SLOG 874 #undef SLOG
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_impl.h ('k') | chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698