OLD | NEW |
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 "components/browser_sync/browser/test_profile_sync_service.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 syncer::TestIdFactory* TestProfileSyncService::id_factory() { | 9 syncer::TestIdFactory* TestProfileSyncService::id_factory() { |
10 return &id_factory_; | 10 return &id_factory_; |
11 } | 11 } |
12 | 12 |
13 syncer::WeakHandle<syncer::JsEventHandler> | 13 syncer::WeakHandle<syncer::JsEventHandler> |
14 TestProfileSyncService::GetJsEventHandler() { | 14 TestProfileSyncService::GetJsEventHandler() { |
15 return syncer::WeakHandle<syncer::JsEventHandler>(); | 15 return syncer::WeakHandle<syncer::JsEventHandler>(); |
(...skipping 11 matching lines...) Expand all Loading... |
27 base::MessageLoop::current()->QuitWhenIdle(); | 27 base::MessageLoop::current()->QuitWhenIdle(); |
28 } | 28 } |
29 | 29 |
30 syncer::UserShare* TestProfileSyncService::GetUserShare() const { | 30 syncer::UserShare* TestProfileSyncService::GetUserShare() const { |
31 return backend_->GetUserShare(); | 31 return backend_->GetUserShare(); |
32 } | 32 } |
33 | 33 |
34 bool TestProfileSyncService::NeedBackup() const { | 34 bool TestProfileSyncService::NeedBackup() const { |
35 return false; | 35 return false; |
36 } | 36 } |
OLD | NEW |