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

Side by Side Diff: components/sync_driver/local_device_info_provider_mock.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_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
6 #define COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_ 6 #define COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
7 7
8 #include <string>
9
8 #include "components/sync_driver/device_info.h" 10 #include "components/sync_driver/device_info.h"
9 #include "components/sync_driver/local_device_info_provider.h" 11 #include "components/sync_driver/local_device_info_provider.h"
10 12
11 namespace sync_driver { 13 namespace sync_driver {
12 14
13 class LocalDeviceInfoProviderMock 15 class LocalDeviceInfoProviderMock
14 : public sync_driver::LocalDeviceInfoProvider { 16 : public sync_driver::LocalDeviceInfoProvider {
15 public: 17 public:
16 // Creates uninitialized provider. 18 // Creates uninitialized provider.
17 LocalDeviceInfoProviderMock(); 19 LocalDeviceInfoProviderMock();
(...skipping 20 matching lines...) Expand all
38 private: 40 private:
39 bool is_initialized_; 41 bool is_initialized_;
40 42
41 scoped_ptr<DeviceInfo> local_device_info_; 43 scoped_ptr<DeviceInfo> local_device_info_;
42 base::CallbackList<void(void)> callback_list_; 44 base::CallbackList<void(void)> callback_list_;
43 }; 45 };
44 46
45 } // namespace sync_driver 47 } // namespace sync_driver
46 48
47 #endif // COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_ 49 #endif // COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
OLDNEW
« no previous file with comments | « components/sync_driver/invalidation_helper.cc ('k') | components/sync_driver/local_device_info_provider_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698