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

Unified Diff: chrome/browser/policy/browser_policy_connector.h

Issue 6869042: Add immutable settings checks when handling policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, address comments Created 9 years, 8 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/policy/browser_policy_connector.h
diff --git a/chrome/browser/policy/browser_policy_connector.h b/chrome/browser/policy/browser_policy_connector.h
index e055a97f2fb6d89b090d5b3c8f4847c1ecfbcf8d..de4af727ed977dfc275972d185e6cc3e0b307dd0 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/task.h"
+#include "chrome/browser/policy/enterprise_install_attributes.h"
class PrefService;
class TestingBrowserProcess;
@@ -54,6 +55,9 @@ class BrowserPolicyConnector {
// a local owner).
bool IsEnterpriseManaged();
+ // Locks the device to an enterprise domain.
+ EnterpriseInstallAttributes::LockResult LockDevice(const std::string& user);
+
// Returns the enterprise domain if device is managed.
std::string GetEnterpriseDomain();
@@ -82,6 +86,7 @@ class BrowserPolicyConnector {
#if defined(OS_CHROMEOS)
scoped_ptr<DevicePolicyIdentityStrategy> identity_strategy_;
+ scoped_ptr<EnterpriseInstallAttributes> install_attributes_;
#endif
scoped_ptr<CloudPolicySubsystem> cloud_policy_subsystem_;
« no previous file with comments | « chrome/browser/chromeos/login/enterprise_enrollment_screen.cc ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698