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

Side by Side Diff: chrome/browser/chromeos/settings/device_settings_test_helper.cc

Issue 2195653002: arc: add enterprise_reporting.mojom interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Corrected upstream branch. Created 4 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/settings/device_settings_test_helper.h" 5 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/threading/sequenced_worker_pool.h" 9 #include "base/threading/sequenced_worker_pool.h"
10 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" 10 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 void DeviceSettingsTestHelper::StartArcInstance( 186 void DeviceSettingsTestHelper::StartArcInstance(
187 const cryptohome::Identification& cryptohome_id, 187 const cryptohome::Identification& cryptohome_id,
188 const ArcCallback& callback) {} 188 const ArcCallback& callback) {}
189 189
190 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} 190 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {}
191 191
192 void DeviceSettingsTestHelper::GetArcStartTime( 192 void DeviceSettingsTestHelper::GetArcStartTime(
193 const GetArcStartTimeCallback& callback) {} 193 const GetArcStartTimeCallback& callback) {}
194 194
195 void DeviceSettingsTestHelper::RemoveArcData( 195 void DeviceSettingsTestHelper::RemoveArcData(
196 const cryptohome::Identification& cryptohome_id) {} 196 const cryptohome::Identification& cryptohome_id,
197 const ArcCallback& callback) {}
197 198
198 DeviceSettingsTestHelper::PolicyState::PolicyState() 199 DeviceSettingsTestHelper::PolicyState::PolicyState()
199 : store_result_(true) {} 200 : store_result_(true) {}
200 201
201 DeviceSettingsTestHelper::PolicyState::PolicyState(const PolicyState& other) = 202 DeviceSettingsTestHelper::PolicyState::PolicyState(const PolicyState& other) =
202 default; 203 default;
203 204
204 DeviceSettingsTestHelper::PolicyState::~PolicyState() {} 205 DeviceSettingsTestHelper::PolicyState::~PolicyState() {}
205 206
206 ScopedDeviceSettingsTestHelper::ScopedDeviceSettingsTestHelper() { 207 ScopedDeviceSettingsTestHelper::ScopedDeviceSettingsTestHelper() {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 const_cast<user_manager::User*>(user)); 278 const_cast<user_manager::User*>(user));
278 } 279 }
279 OwnerSettingsServiceChromeOS* service = 280 OwnerSettingsServiceChromeOS* service =
280 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); 281 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get());
281 CHECK(service); 282 CHECK(service);
282 if (tpm_is_ready) 283 if (tpm_is_ready)
283 service->OnTPMTokenReady(true /* token is enabled */); 284 service->OnTPMTokenReady(true /* token is enabled */);
284 } 285 }
285 286
286 } // namespace chromeos 287 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/device_settings_test_helper.h ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698