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

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

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_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 "components/sync_driver/sync_client.h" 9 #include "components/sync_driver/sync_client.h"
9 10
10 namespace sync_driver { 11 namespace sync_driver {
11 class FakeSyncService; 12 class FakeSyncService;
12 13
13 // Fake implementation of SyncClient interface for tests. 14 // Fake implementation of SyncClient interface for tests.
14 class FakeSyncClient : public SyncClient { 15 class FakeSyncClient : public SyncClient {
15 public: 16 public:
16 FakeSyncClient(); 17 FakeSyncClient();
17 explicit FakeSyncClient(SyncApiComponentFactory* factory); 18 explicit FakeSyncClient(SyncApiComponentFactory* factory);
(...skipping 25 matching lines...) Expand all
43 private: 44 private:
44 SyncApiComponentFactory* factory_; 45 SyncApiComponentFactory* factory_;
45 scoped_ptr<FakeSyncService> sync_service_; 46 scoped_ptr<FakeSyncService> sync_service_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(FakeSyncClient); 48 DISALLOW_COPY_AND_ASSIGN(FakeSyncClient);
48 }; 49 };
49 50
50 } // namespace sync_driver 51 } // namespace sync_driver
51 52
52 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ 53 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_
OLDNEW
« no previous file with comments | « components/sync_driver/fake_generic_change_processor.h ('k') | components/sync_driver/frontend_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698