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

Side by Side Diff: components/sync_driver/local_device_info_provider_mock.cc

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 #include "components/sync_driver/local_device_info_provider_mock.h" 5 #include "components/sync_driver/local_device_info_provider_mock.h"
6 6
7 namespace sync_driver { 7 namespace sync_driver {
8 8
9 LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock() 9 LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock()
10 : is_initialized_(false) {} 10 : is_initialized_(false) {}
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 54 }
55 55
56 void LocalDeviceInfoProviderMock::SetInitialized(bool is_initialized) { 56 void LocalDeviceInfoProviderMock::SetInitialized(bool is_initialized) {
57 is_initialized_ = is_initialized; 57 is_initialized_ = is_initialized;
58 if (is_initialized_) { 58 if (is_initialized_) {
59 callback_list_.Notify(); 59 callback_list_.Notify();
60 } 60 }
61 } 61 }
62 62
63 } // namespace sync_driver 63 } // namespace sync_driver
64
OLDNEW
« no previous file with comments | « components/sync_driver/local_device_info_provider_mock.h ('k') | components/sync_driver/model_association_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698