Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
index 274bed9805a4009615b978cb75176c6367826128..fc12774fbf513ccaec6bfad767261f6ecf118f40 100644 |
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
@@ -47,7 +47,6 @@ |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/features.h" |
#include "chrome/common/pref_names.h" |
-#include "chrome/grit/generated_resources.h" |
#include "chromeos/login/login_state.h" |
#include "chromeos/network/portal_detector/network_portal_detector.h" |
#include "components/google/core/browser/google_util.h" |
@@ -61,8 +60,6 @@ |
#include "ui/base/ime/chromeos/extension_ime_util.h" |
#include "ui/base/ime/chromeos/input_method_manager.h" |
#include "ui/base/ime/chromeos/input_method_util.h" |
-#include "ui/base/l10n/l10n_util.h" |
-#include "ui/base/l10n/time_format.h" |
#include "ui/chromeos/events/pref_names.h" |
#include "ui/chromeos/ime/input_method_menu_item.h" |
#include "ui/chromeos/ime/input_method_menu_manager.h" |
@@ -247,13 +244,6 @@ void SystemTrayDelegateChromeOS::GetCurrentIMEProperties( |
} |
} |
-base::string16 SystemTrayDelegateChromeOS::GetIMEManagedMessage() { |
- auto ime_state = input_method::InputMethodManager::Get()->GetActiveIMEState(); |
- return ime_state->GetAllowedInputMethods().empty() |
- ? base::string16() |
- : l10n_util::GetStringUTF16(IDS_OPTIONS_CONTROLLED_SETTING_POLICY); |
-} |
- |
ash::NetworkingConfigDelegate* |
SystemTrayDelegateChromeOS::GetNetworkingConfigDelegate() const { |
return networking_config_delegate_.get(); |