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

Side by Side Diff: components/browser_sync/test_profile_sync_service.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 (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 "components/browser_sync/test_profile_sync_service.h" 5 #include "components/browser_sync/test_profile_sync_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 namespace browser_sync { 9 namespace browser_sync {
10 10
11 syncer::TestIdFactory* TestProfileSyncService::id_factory() { 11 syncer::TestIdFactory* TestProfileSyncService::id_factory() {
12 return &id_factory_; 12 return &id_factory_;
13 } 13 }
14 14
15 syncer::WeakHandle<syncer::JsEventHandler> 15 syncer::WeakHandle<syncer::JsEventHandler>
16 TestProfileSyncService::GetJsEventHandler() { 16 TestProfileSyncService::GetJsEventHandler() {
17 return syncer::WeakHandle<syncer::JsEventHandler>(); 17 return syncer::WeakHandle<syncer::JsEventHandler>();
18 } 18 }
19 19
20 TestProfileSyncService::TestProfileSyncService( 20 TestProfileSyncService::TestProfileSyncService(
21 ProfileSyncService::InitParams init_params) 21 ProfileSyncService::InitParams init_params)
22 : ProfileSyncService(std::move(init_params)) {} 22 : ProfileSyncService(std::move(init_params)) {}
23 23
24 TestProfileSyncService::~TestProfileSyncService() {} 24 TestProfileSyncService::~TestProfileSyncService() {}
25 25
26 void TestProfileSyncService::OnConfigureDone( 26 void TestProfileSyncService::OnConfigureDone(
27 const syncer::DataTypeManager::ConfigureResult& result) { 27 const sync_driver::DataTypeManager::ConfigureResult& result) {
28 ProfileSyncService::OnConfigureDone(result); 28 ProfileSyncService::OnConfigureDone(result);
29 base::MessageLoop::current()->QuitWhenIdle(); 29 base::MessageLoop::current()->QuitWhenIdle();
30 } 30 }
31 31
32 syncer::UserShare* TestProfileSyncService::GetUserShare() const { 32 syncer::UserShare* TestProfileSyncService::GetUserShare() const {
33 return backend_->GetUserShare(); 33 return backend_->GetUserShare();
34 } 34 }
35 35
36 } // namespace browser_sync 36 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/browser_sync/test_profile_sync_service.h ('k') | components/browsing_data/core/counters/history_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698