Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: chrome/browser/password_manager/password_manager_test_base.h

Issue 1212163007: Kill renderers for bad password forms in --site-per-process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/password_manager/password_manager_test_base.h
diff --git a/chrome/browser/password_manager/password_manager_test_base.h b/chrome/browser/password_manager/password_manager_test_base.h
index 29d6887a66e7ea81e99ff4a8cb1594394594d5e4..44ce40bca940afb315b2cf4961b4295582c0cced 100644
--- a/chrome/browser/password_manager/password_manager_test_base.h
+++ b/chrome/browser/password_manager/password_manager_test_base.h
@@ -30,6 +30,9 @@ class NavigationObserver : public content::WebContentsObserver {
// Wait for navigation to succeed.
void Wait();
+ // Returns the RenderFrameHost that navigated.
+ content::RenderFrameHost* render_frame_host() { return render_frame_host_; }
+
// content::WebContentsObserver:
void DidFinishLoad(content::RenderFrameHost* render_frame_host,
const GURL& validated_url) override;
@@ -38,6 +41,7 @@ class NavigationObserver : public content::WebContentsObserver {
private:
std::string wait_for_path_;
+ content::RenderFrameHost* render_frame_host_;
bool quit_on_entry_committed_;
scoped_refptr<content::MessageLoopRunner> message_loop_runner_;

Powered by Google App Engine
This is Rietveld 408576698