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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_manager.cc

Issue 2382833002: Rename policy::EnterpriseInstallAttributes to chromeos::InstallAttributes. (Closed)
Patch Set: Add missing #includes. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc b/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
index 4f21354762236ceaa33f6781cd5533e060c64277..ac4dfc442d4330b55a9f95b1f35d83fb5e724be8 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
@@ -286,11 +286,11 @@ bool KioskAppManager::IsConsumerKioskDeviceWithAutoLaunch() {
void KioskAppManager::OnLockDevice(
const KioskAppManager::EnableKioskAutoLaunchCallback& callback,
- policy::EnterpriseInstallAttributes::LockResult result) {
+ InstallAttributes::LockResult result) {
if (callback.is_null())
return;
- callback.Run(result == policy::EnterpriseInstallAttributes::LOCK_SUCCESS);
+ callback.Run(result == InstallAttributes::LOCK_SUCCESS);
}
void KioskAppManager::OnOwnerFileChecked(
@@ -319,8 +319,7 @@ void KioskAppManager::OnReadImmutableAttributes(
CONSUMER_KIOSK_AUTO_LAUNCH_DISABLED;
policy::BrowserPolicyConnectorChromeOS* connector =
g_browser_process->platform_part()->browser_policy_connector_chromeos();
- policy::EnterpriseInstallAttributes* attributes =
- connector->GetInstallAttributes();
+ InstallAttributes* attributes = connector->GetInstallAttributes();
switch (attributes->GetMode()) {
case policy::DEVICE_MODE_NOT_SET: {
if (!base::SysInfo::IsRunningOnChromeOS()) {

Powered by Google App Engine
This is Rietveld 408576698