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

Side by Side Diff: chrome/browser/sync/test_profile_sync_service.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, 5 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
« no previous file with comments | « chrome/browser/sync/test/integration/sync_test.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/sync/test_profile_sync_service.h" 5 #include "chrome/browser/sync/test_profile_sync_service.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
11 #include "chrome/browser/chrome_notification_types.h" 11 #include "chrome/browser/chrome_notification_types.h"
12 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 12 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 14 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
15 #include "chrome/browser/signin/signin_manager_factory.h" 15 #include "chrome/browser/signin/signin_manager_factory.h"
16 #include "chrome/browser/sync/glue/sync_backend_host.h" 16 #include "chrome/browser/sync/glue/sync_backend_host.h"
17 #include "chrome/browser/sync/glue/sync_backend_host_core.h" 17 #include "chrome/browser/sync/glue/sync_backend_host_core.h"
18 #include "chrome/browser/sync/profile_sync_components_factory.h" 18 #include "chrome/browser/sync/profile_sync_components_factory.h"
19 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" 19 #include "chrome/browser/sync/profile_sync_components_factory_mock.h"
20 #include "chrome/browser/sync/profile_sync_service_factory.h" 20 #include "chrome/browser/sync/profile_sync_service_factory.h"
21 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" 21 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h"
22 #include "chrome/browser/sync/test/test_http_bridge_factory.h" 22 #include "chrome/browser/sync/test/test_http_bridge_factory.h"
23 #include "components/invalidation/profile_invalidation_provider.h" 23 #include "components/invalidation/impl/profile_invalidation_provider.h"
24 #include "components/signin/core/browser/signin_manager.h" 24 #include "components/signin/core/browser/signin_manager.h"
25 #include "google_apis/gaia/gaia_constants.h" 25 #include "google_apis/gaia/gaia_constants.h"
26 #include "sync/internal_api/public/test/sync_manager_factory_for_profile_sync_te st.h" 26 #include "sync/internal_api/public/test/sync_manager_factory_for_profile_sync_te st.h"
27 #include "sync/internal_api/public/test/test_internal_components_factory.h" 27 #include "sync/internal_api/public/test/test_internal_components_factory.h"
28 #include "sync/internal_api/public/user_share.h" 28 #include "sync/internal_api/public/user_share.h"
29 #include "sync/protocol/encryption.pb.h" 29 #include "sync/protocol/encryption.pb.h"
30 #include "testing/gmock/include/gmock/gmock.h" 30 #include "testing/gmock/include/gmock/gmock.h"
31 31
32 using syncer::InternalComponentsFactory; 32 using syncer::InternalComponentsFactory;
33 using syncer::TestInternalComponentsFactory; 33 using syncer::TestInternalComponentsFactory;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 base::MessageLoop::current()->Quit(); 178 base::MessageLoop::current()->Quit();
179 } 179 }
180 180
181 UserShare* TestProfileSyncService::GetUserShare() const { 181 UserShare* TestProfileSyncService::GetUserShare() const {
182 return backend_->GetUserShare(); 182 return backend_->GetUserShare();
183 } 183 }
184 184
185 bool TestProfileSyncService::NeedBackup() const { 185 bool TestProfileSyncService::NeedBackup() const {
186 return false; 186 return false;
187 } 187 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/sync_test.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698