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

Side by Side Diff: components/sync/model/stub_model_type_service.h

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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 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_API_STUB_MODEL_TYPE_SERVICE_H_ 5 #ifndef COMPONENTS_SYNC_MODEL_STUB_MODEL_TYPE_SERVICE_H_
6 #define COMPONENTS_SYNC_API_STUB_MODEL_TYPE_SERVICE_H_ 6 #define COMPONENTS_SYNC_MODEL_STUB_MODEL_TYPE_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "components/sync/api/model_type_service.h" 11 #include "components/sync/model/model_type_service.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 14
15 // A non-functional implementation of ModelTypeService for 15 // A non-functional implementation of ModelTypeService for
16 // testing purposes. 16 // testing purposes.
17 class StubModelTypeService : public ModelTypeService { 17 class StubModelTypeService : public ModelTypeService {
18 public: 18 public:
19 StubModelTypeService(); 19 StubModelTypeService();
20 explicit StubModelTypeService( 20 explicit StubModelTypeService(
21 const ChangeProcessorFactory& change_processor_factory); 21 const ChangeProcessorFactory& change_processor_factory);
(...skipping 10 matching lines...) Expand all
32 void GetAllData(DataCallback callback) override; 32 void GetAllData(DataCallback callback) override;
33 std::string GetClientTag(const EntityData& entity_data) override; 33 std::string GetClientTag(const EntityData& entity_data) override;
34 std::string GetStorageKey(const EntityData& entity_data) override; 34 std::string GetStorageKey(const EntityData& entity_data) override;
35 void OnChangeProcessorSet() override; 35 void OnChangeProcessorSet() override;
36 36
37 bool HasChangeProcessor() const; 37 bool HasChangeProcessor() const;
38 }; 38 };
39 39
40 } // namespace syncer 40 } // namespace syncer
41 41
42 #endif // COMPONENTS_SYNC_API_STUB_MODEL_TYPE_SERVICE_H_ 42 #endif // COMPONENTS_SYNC_MODEL_STUB_MODEL_TYPE_SERVICE_H_
OLDNEW
« no previous file with comments | « components/sync/model/string_ordinal.h ('k') | components/sync/model/stub_model_type_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698