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

Side by Side Diff: components/sync_driver/fake_generic_change_processor.h

Issue 1380693004: [Sync] Fixing sync_driver lint violations and adding PRESUBMIT lint check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cross
Patch Set: Removing lint fixes for revisit files, removing revisit patch dep. Created 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_GENERIC_CHANGE_PROCESSOR_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_FAKE_GENERIC_CHANGE_PROCESSOR_H_
6 #define COMPONENTS_SYNC_DRIVER_FAKE_GENERIC_CHANGE_PROCESSOR_H_ 6 #define COMPONENTS_SYNC_DRIVER_FAKE_GENERIC_CHANGE_PROCESSOR_H_
7 7
8 #include <string>
9
8 #include "components/sync_driver/generic_change_processor.h" 10 #include "components/sync_driver/generic_change_processor.h"
9
10 #include "components/sync_driver/generic_change_processor_factory.h" 11 #include "components/sync_driver/generic_change_processor_factory.h"
11 #include "components/sync_driver/sync_api_component_factory.h" 12 #include "components/sync_driver/sync_api_component_factory.h"
12 #include "sync/api/sync_error.h" 13 #include "sync/api/sync_error.h"
13 #include "sync/internal_api/public/base/model_type.h" 14 #include "sync/internal_api/public/base/model_type.h"
14 15
15 namespace sync_driver { 16 namespace sync_driver {
16 17
17 // A fake GenericChangeProcessor that can return arbitrary values. 18 // A fake GenericChangeProcessor that can return arbitrary values.
18 class FakeGenericChangeProcessor : public GenericChangeProcessor { 19 class FakeGenericChangeProcessor : public GenericChangeProcessor {
19 public: 20 public:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 SyncClient* sync_client) override; 57 SyncClient* sync_client) override;
57 58
58 private: 59 private:
59 scoped_ptr<FakeGenericChangeProcessor> processor_; 60 scoped_ptr<FakeGenericChangeProcessor> processor_;
60 DISALLOW_COPY_AND_ASSIGN(FakeGenericChangeProcessorFactory); 61 DISALLOW_COPY_AND_ASSIGN(FakeGenericChangeProcessorFactory);
61 }; 62 };
62 63
63 } // namespace sync_driver 64 } // namespace sync_driver
64 65
65 #endif // COMPONENTS_SYNC_DRIVER_FAKE_GENERIC_CHANGE_PROCESSOR_H_ 66 #endif // COMPONENTS_SYNC_DRIVER_FAKE_GENERIC_CHANGE_PROCESSOR_H_
OLDNEW
« no previous file with comments | « components/sync_driver/fake_data_type_controller.cc ('k') | components/sync_driver/fake_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698