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

Unified Diff: chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h

Issue 1266563002: Added affiliation IDs for the new affiliation determination. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/policy/browser_policy_connector_chromeos.h
diff --git a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
index fe342d8ccbe18ee9199f39d6292c5282e82d38b5..f36e3f46218e77be83e54a0d290dd6ba39bb1f10 100644
--- a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
+++ b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_
+#include <set>
#include <string>
#include "base/basictypes.h"
@@ -63,7 +64,7 @@ class BrowserPolicyConnectorChromeOS
bool IsEnterpriseManaged();
// Returns the enterprise domain if device is managed.
- std::string GetEnterpriseDomain();
+ std::string GetEnterpriseDomain() const;
// Returns the device asset ID if it is set.
std::string GetDeviceAssetID();
@@ -144,6 +145,8 @@ class BrowserPolicyConnectorChromeOS
void OnDeviceCloudPolicyManagerConnected() override;
void OnDeviceCloudPolicyManagerDisconnected() override;
+ std::set<std::string> GetDeviceAffiliationIDs() const;
+
private:
// Set the timezone as soon as the policies are available.
void SetTimezoneIfPolicyAvailable();

Powered by Google App Engine
This is Rietveld 408576698