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

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

Issue 2359003004: Disable ACTION_BOOT_COMPLETED event for 3rd party apps. (Closed)
Patch Set: Fix Daniel's comments 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 (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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const std::vector<std::string>& flags) {} 180 const std::vector<std::string>& flags) {}
181 181
182 void DeviceSettingsTestHelper::GetServerBackedStateKeys( 182 void DeviceSettingsTestHelper::GetServerBackedStateKeys(
183 const StateKeysCallback& callback) {} 183 const StateKeysCallback& callback) {}
184 184
185 void DeviceSettingsTestHelper::CheckArcAvailability( 185 void DeviceSettingsTestHelper::CheckArcAvailability(
186 const ArcCallback& callback) {} 186 const ArcCallback& callback) {}
187 187
188 void DeviceSettingsTestHelper::StartArcInstance( 188 void DeviceSettingsTestHelper::StartArcInstance(
189 const cryptohome::Identification& cryptohome_id, 189 const cryptohome::Identification& cryptohome_id,
190 bool disable_arc_boot_completed_broadcast,
Daniel Erat 2016/10/03 23:50:25 nit: remove "arc" here and in other similar parame
xzhou 2016/10/04 00:09:55 Done.
190 const ArcCallback& callback) {} 191 const ArcCallback& callback) {}
191 192
192 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} 193 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {}
193 194
194 void DeviceSettingsTestHelper::PrioritizeArcInstance( 195 void DeviceSettingsTestHelper::PrioritizeArcInstance(
195 const ArcCallback& callback) {} 196 const ArcCallback& callback) {}
196 197
197 void DeviceSettingsTestHelper::EmitArcBooted() {} 198 void DeviceSettingsTestHelper::EmitArcBooted() {}
198 199
199 void DeviceSettingsTestHelper::GetArcStartTime( 200 void DeviceSettingsTestHelper::GetArcStartTime(
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 const_cast<user_manager::User*>(user)); 286 const_cast<user_manager::User*>(user));
286 } 287 }
287 OwnerSettingsServiceChromeOS* service = 288 OwnerSettingsServiceChromeOS* service =
288 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); 289 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get());
289 CHECK(service); 290 CHECK(service);
290 if (tpm_is_ready) 291 if (tpm_is_ready)
291 service->OnTPMTokenReady(true /* token is enabled */); 292 service->OnTPMTokenReady(true /* token is enabled */);
292 } 293 }
293 294
294 } // namespace chromeos 295 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698