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

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

Issue 2649133003: Remove PrioritizeArcInstance() from SessionManagerClient (Closed)
Patch Set: Created 3 years, 11 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_boot_completed_broadcast, 190 bool disable_boot_completed_broadcast,
191 const StartArcInstanceCallback& callback) {} 191 const StartArcInstanceCallback& callback) {}
192 192
193 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} 193 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {}
194 194
195 void DeviceSettingsTestHelper::PrioritizeArcInstance(
196 const ArcCallback& callback) {}
197
198 void DeviceSettingsTestHelper::SetArcCpuRestriction( 195 void DeviceSettingsTestHelper::SetArcCpuRestriction(
199 login_manager::ContainerCpuRestrictionState restriction_state, 196 login_manager::ContainerCpuRestrictionState restriction_state,
200 const ArcCallback& callback) {} 197 const ArcCallback& callback) {}
201 198
202 void DeviceSettingsTestHelper::EmitArcBooted() {} 199 void DeviceSettingsTestHelper::EmitArcBooted() {}
203 200
204 void DeviceSettingsTestHelper::GetArcStartTime( 201 void DeviceSettingsTestHelper::GetArcStartTime(
205 const GetArcStartTimeCallback& callback) {} 202 const GetArcStartTimeCallback& callback) {}
206 203
207 void DeviceSettingsTestHelper::RemoveArcData( 204 void DeviceSettingsTestHelper::RemoveArcData(
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 const_cast<user_manager::User*>(user)); 287 const_cast<user_manager::User*>(user));
291 } 288 }
292 OwnerSettingsServiceChromeOS* service = 289 OwnerSettingsServiceChromeOS* service =
293 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); 290 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get());
294 CHECK(service); 291 CHECK(service);
295 if (tpm_is_ready) 292 if (tpm_is_ready)
296 service->OnTPMTokenReady(true /* token is enabled */); 293 service->OnTPMTokenReady(true /* token is enabled */);
297 } 294 }
298 295
299 } // namespace chromeos 296 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/device_settings_test_helper.h ('k') | chromeos/dbus/fake_session_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698