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

Side by Side Diff: chrome/browser/chromeos/policy/enterprise_install_attributes.h

Issue 130613004: Enabled consumer kiosk mode for all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // |callback| must not be null and is called with the result. 71 // |callback| must not be null and is called with the result.
72 void LockDevice(const std::string& user, 72 void LockDevice(const std::string& user,
73 DeviceMode device_mode, 73 DeviceMode device_mode,
74 const std::string& device_id, 74 const std::string& device_id,
75 const LockResultCallback& callback); 75 const LockResultCallback& callback);
76 76
77 // Checks whether this is an enterprise device. 77 // Checks whether this is an enterprise device.
78 bool IsEnterpriseDevice(); 78 bool IsEnterpriseDevice();
79 79
80 // Checks whether this is a consumer kiosk enabled device. 80 // Checks whether this is a consumer kiosk enabled device.
81 bool IsConsumerKioskDevice(); 81 bool IsConsumerKioskDeviceWithAutoLaunch();
82 82
83 // Gets the domain this device belongs to or an empty string if the device is 83 // Gets the domain this device belongs to or an empty string if the device is
84 // not an enterprise device. 84 // not an enterprise device.
85 std::string GetDomain(); 85 std::string GetDomain();
86 86
87 // Gets the user that registered the device. Returns an empty string if the 87 // Gets the user that registered the device. Returns an empty string if the
88 // device is not an enterprise device. 88 // device is not an enterprise device.
89 std::string GetRegistrationUser(); 89 std::string GetRegistrationUser();
90 90
91 // Gets the device id that was generated when the device was registered. 91 // Gets the device id that was generated when the device was registered.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 chromeos::CryptohomeClient* cryptohome_client_; 132 chromeos::CryptohomeClient* cryptohome_client_;
133 133
134 base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_; 134 base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(EnterpriseInstallAttributes); 136 DISALLOW_COPY_AND_ASSIGN(EnterpriseInstallAttributes);
137 }; 137 };
138 138
139 } // namespace policy 139 } // namespace policy
140 140
141 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_ 141 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ENTERPRISE_INSTALL_ATTRIBUTES_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/kiosk_browsertest.cc ('k') | chrome/browser/chromeos/policy/enterprise_install_attributes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698