Index: chrome/browser/ui/webui/options/password_manager_handler.cc |
diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc |
index 3805f1d022b5349689b44df552f9e1a79573f0b3..39763c1b960a0519481024c132b8955e68498a78 100644 |
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc |
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc |
@@ -11,6 +11,9 @@ |
#include "base/values.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/profiles/profile.h" |
+#if defined(OS_WIN) && defined(USE_ASH) |
+#include "chrome/browser/ui/ash/ash_util.h" |
+#endif |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "components/autofill/core/common/password_form.h" |
@@ -69,6 +72,11 @@ void PasswordManagerHandler::GetLocalizedValues( |
localized_strings->SetString("passwordManagerLearnMoreURL", |
chrome::kPasswordManagerLearnMoreURL); |
+ |
+#if defined(OS_WIN) && defined(USE_ASH) |
Patrick Dubroy
2013/12/13 14:19:10
Can you add a comment here to explain what this is
Will Harris
2013/12/16 17:18:28
Done.
|
+ if (chrome::IsNativeWindowInAsh(GetNativeWindow())) |
+ localized_strings->SetBoolean("disableShowPasswords", true); |
+#endif |
} |
void PasswordManagerHandler::RegisterMessages() { |