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 9b4382585906991e7cc8339640a426eeb62a738b..e3577f7aee3ede84a097436767ffc191d873918b 100644 |
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc |
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc |
@@ -17,6 +17,7 @@ |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/user_metrics.h" |
+#include "content/public/browser/web_contents.h" |
Bernhard Bauer
2013/11/27 17:04:52
Also here. I think nothing in this file needs to k
Will Harris
2013/12/02 23:19:27
Done.
|
#include "content/public/browser/web_ui.h" |
#include "grit/chromium_strings.h" |
#include "grit/generated_resources.h" |
@@ -34,6 +35,10 @@ Profile* PasswordManagerHandler::GetProfile() { |
return Profile::FromWebUI(web_ui()); |
} |
+content::WebContents* PasswordManagerHandler::GetWebContents() { |
+ return web_ui()->GetWebContents(); |
+} |
+ |
void PasswordManagerHandler::GetLocalizedValues( |
DictionaryValue* localized_strings) { |
DCHECK(localized_strings); |