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

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

Issue 26770002: Report logged in users on enterprise managed devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ran update_policies.py Created 7 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 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 f6cb3e3e70e446021ff757a35577a51736990f8a..733b516cd15849bda45d3e616010f819767c62b6 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -130,6 +130,11 @@ class BrowserPolicyConnector {
// previously set delegate is removed. Passing NULL removes the current
// delegate, if there is one.
void SetUserPolicyDelegate(ConfigurationPolicyProvider* user_policy_provider);
+
+ // Sets the install attributes for testing. Must be called before the browser
+ // is created. Takes ownership of |attributes|.
+ static void SetInstallAttributesForTesting(
+ EnterpriseInstallAttributes* attributes);
#endif
// Sets a |provider| that will be included in PolicyServices returned by
« no previous file with comments | « chrome/browser/chromeos/settings/device_settings_provider.cc ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698