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

Side by Side Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
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 "chrome/browser/chrome_notification_types.h" 7 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 8 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 10 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 return sync_service; 160 return sync_service;
161 } 161 }
162 162
163 ProfileSyncComponentsFactoryMock* 163 ProfileSyncComponentsFactoryMock*
164 TestProfileSyncService::components_factory_mock() { 164 TestProfileSyncService::components_factory_mock() {
165 // We always create a mock factory, see Build* routines. 165 // We always create a mock factory, see Build* routines.
166 return static_cast<ProfileSyncComponentsFactoryMock*>(factory()); 166 return static_cast<ProfileSyncComponentsFactoryMock*>(factory());
167 } 167 }
168 168
169 void TestProfileSyncService::OnConfigureDone( 169 void TestProfileSyncService::OnConfigureDone(
170 const browser_sync::DataTypeManager::ConfigureResult& result) { 170 const sync_driver::DataTypeManager::ConfigureResult& result) {
171 ProfileSyncService::OnConfigureDone(result); 171 ProfileSyncService::OnConfigureDone(result);
172 base::MessageLoop::current()->Quit(); 172 base::MessageLoop::current()->Quit();
173 } 173 }
174 174
175 UserShare* TestProfileSyncService::GetUserShare() const { 175 UserShare* TestProfileSyncService::GetUserShare() const {
176 return backend_->GetUserShare(); 176 return backend_->GetUserShare();
177 } 177 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.h ('k') | components/sync_driver/backend_data_type_configurer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698