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

Side by Side Diff: components/sync/device_info/local_device_info_provider_mock.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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 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/device_info/local_device_info_provider_mock.h" 5 #include "components/sync/device_info/local_device_info_provider_mock.h"
6 6
7 namespace syncer { 7 namespace sync_driver {
8 8
9 LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock() 9 LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock()
10 : is_initialized_(false) {} 10 : is_initialized_(false) {}
11 11
12 LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock( 12 LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock(
13 const std::string& guid, 13 const std::string& guid,
14 const std::string& client_name, 14 const std::string& client_name,
15 const std::string& chrome_version, 15 const std::string& chrome_version,
16 const std::string& sync_user_agent, 16 const std::string& sync_user_agent,
17 const sync_pb::SyncEnums::DeviceType device_type, 17 const sync_pb::SyncEnums::DeviceType device_type,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 is_initialized_ = false; 64 is_initialized_ = false;
65 } 65 }
66 66
67 void LocalDeviceInfoProviderMock::SetInitialized(bool is_initialized) { 67 void LocalDeviceInfoProviderMock::SetInitialized(bool is_initialized) {
68 is_initialized_ = is_initialized; 68 is_initialized_ = is_initialized;
69 if (is_initialized_) { 69 if (is_initialized_) {
70 callback_list_.Notify(); 70 callback_list_.Notify();
71 } 71 }
72 } 72 }
73 73
74 } // namespace syncer 74 } // namespace sync_driver
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698