Index: chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
index 130631c9e50c92e516c4d4c933e087b45a50fbf2..2e4349db2f201428ef5ffc5df8fe3d2100036640 100644 |
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
@@ -53,6 +53,7 @@ |
#include "chrome/browser/chromeos/system_key_event_listener.h" |
#include "chrome/browser/google_apis/drive_service_interface.h" |
#include "chrome/browser/lifetime/application_lifetime.h" |
+#include "chrome/browser/policy/browser_policy_connector.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/ui/ash/volume_controller_chromeos.h" |
@@ -292,6 +293,10 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate, |
return ash::user::LOGGED_IN_USER; |
} |
+ virtual const std::string GetEnterpriseDomain() const OVERRIDE { |
+ return g_browser_process->browser_policy_connector()->GetEnterpriseDomain(); |
+ } |
+ |
virtual bool SystemShouldUpgrade() const OVERRIDE { |
return UpgradeDetector::GetInstance()->notify_upgrade(); |
} |
@@ -355,6 +360,10 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate, |
chrome::ShowHelp(GetAppropriateBrowser(), chrome::HELP_SOURCE_MENU); |
} |
+ virtual void ShowPublicAccountInfo() OVERRIDE { |
+ chrome::ShowPolicy(GetAppropriateBrowser()); |
+ } |
+ |
virtual void ShutDown() OVERRIDE { |
ash::Shell::GetInstance()->session_state_controller()->RequestShutdown(); |
} |