Chromium Code Reviews| 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 #ifndef COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ | 6 #define COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/sync_driver/sync_client.h" | 9 #include "components/sync_driver/sync_client.h" |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 37 syncer::ModelType type) override; | 37 syncer::ModelType type) override; |
| 38 syncer_v2::ModelTypeService* GetModelTypeServiceForType( | 38 syncer_v2::ModelTypeService* GetModelTypeServiceForType( |
| 39 syncer::ModelType type) override; | 39 syncer::ModelType type) override; |
| 40 scoped_refptr<syncer::ModelSafeWorker> CreateModelWorkerForGroup( | 40 scoped_refptr<syncer::ModelSafeWorker> CreateModelWorkerForGroup( |
| 41 syncer::ModelSafeGroup group, | 41 syncer::ModelSafeGroup group, |
| 42 syncer::WorkerLoopDestructionObserver* observer) override; | 42 syncer::WorkerLoopDestructionObserver* observer) override; |
| 43 SyncApiComponentFactory* GetSyncApiComponentFactory() override; | 43 SyncApiComponentFactory* GetSyncApiComponentFactory() override; |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 SyncApiComponentFactory* factory_; | 46 SyncApiComponentFactory* factory_; |
| 47 scoped_ptr<FakeSyncService> sync_service_; | 47 std::unique_ptr<FakeSyncService> sync_service_; |
|
pavely
2016/04/21 17:53:23
Could you add #include <memory> in this file?
dcheng
2016/04/21 18:30:02
Done.
| |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(FakeSyncClient); | 49 DISALLOW_COPY_AND_ASSIGN(FakeSyncClient); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace sync_driver | 52 } // namespace sync_driver |
| 53 | 53 |
| 54 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ | 54 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ |
| OLD | NEW |