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 b48740cc302877b4a387711230369306160ca1a2..3781dabf2b1857cbedcda35a0d2c0106a414a664 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" |
@@ -291,6 +292,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(); |
} |
@@ -354,6 +359,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(); |
} |