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

Unified Diff: chrome/browser/chromeos/login/background_view.cc

Issue 6979011: Move user cloud policy to BrowserProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments by mnissler. Created 9 years, 6 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
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chromeos/login/base_login_display_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/background_view.cc
diff --git a/chrome/browser/chromeos/login/background_view.cc b/chrome/browser/chromeos/login/background_view.cc
index 5d2eb29e681ed2e0c7cb36aa46e05f25622a38fb..9bdf86bfbe848aaeea6d81fb843528e942aaeb3f 100644
--- a/chrome/browser/chromeos/login/background_view.cc
+++ b/chrome/browser/chromeos/login/background_view.cc
@@ -355,7 +355,8 @@ void BackgroundView::InitInfoLabels() {
}
policy::CloudPolicySubsystem* cloud_policy =
- g_browser_process->browser_policy_connector()->cloud_policy_subsystem();
+ g_browser_process->browser_policy_connector()->
+ device_cloud_policy_subsystem();
if (cloud_policy) {
// Two-step reset because we want to construct new ObserverRegistrar after
// destruction of old ObserverRegistrar to avoid DCHECK violation because
@@ -439,7 +440,7 @@ void BackgroundView::UpdateEnterpriseInfo() {
std::string status_text;
policy::CloudPolicySubsystem* cloud_policy_subsystem =
- policy_connector->cloud_policy_subsystem();
+ policy_connector->device_cloud_policy_subsystem();
if (cloud_policy_subsystem) {
switch (cloud_policy_subsystem->state()) {
case policy::CloudPolicySubsystem::UNENROLLED:
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chromeos/login/base_login_display_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698