| OLD | NEW | 
|    1 // Copyright 2015 The Chromium Authors. All rights reserved. |    1 // Copyright 2015 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/sync/driver/fake_sync_service.h" |    5 #include "components/sync/driver/fake_sync_service.h" | 
|    6  |    6  | 
|    7 #include "base/memory/ptr_util.h" |    7 #include "base/memory/ptr_util.h" | 
|    8 #include "base/values.h" |    8 #include "base/values.h" | 
|    9 #include "components/sync/core/base_transaction.h" |  | 
|   10 #include "components/sync/core/user_share.h" |  | 
|   11 #include "components/sync/driver/data_type_controller.h" |    9 #include "components/sync/driver/data_type_controller.h" | 
 |   10 #include "components/sync/syncable/base_transaction.h" | 
 |   11 #include "components/sync/syncable/user_share.h" | 
|   12  |   12  | 
|   13 namespace syncer { |   13 namespace syncer { | 
|   14  |   14  | 
|   15 FakeSyncService::FakeSyncService() |   15 FakeSyncService::FakeSyncService() | 
|   16     : error_(GoogleServiceAuthError::NONE), |   16     : error_(GoogleServiceAuthError::NONE), | 
|   17       user_share_(base::MakeUnique<UserShare>()) {} |   17       user_share_(base::MakeUnique<UserShare>()) {} | 
|   18  |   18  | 
|   19 FakeSyncService::~FakeSyncService() {} |   19 FakeSyncService::~FakeSyncService() {} | 
|   20  |   20  | 
|   21 bool FakeSyncService::IsFirstSetupComplete() const { |   21 bool FakeSyncService::IsFirstSetupComplete() const { | 
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  204     TypeDebugInfoObserver* observer) {} |  204     TypeDebugInfoObserver* observer) {} | 
|  205  |  205  | 
|  206 base::WeakPtr<JsController> FakeSyncService::GetJsController() { |  206 base::WeakPtr<JsController> FakeSyncService::GetJsController() { | 
|  207   return base::WeakPtr<JsController>(); |  207   return base::WeakPtr<JsController>(); | 
|  208 } |  208 } | 
|  209  |  209  | 
|  210 void FakeSyncService::GetAllNodes( |  210 void FakeSyncService::GetAllNodes( | 
|  211     const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} |  211     const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} | 
|  212  |  212  | 
|  213 }  // namespace syncer |  213 }  // namespace syncer | 
| OLD | NEW |