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

Side by Side Diff: chrome/browser/password_manager/password_manager_test_base.h

Issue 1806593002: Autofill & passwords: Replace NavigationEntryCommitted with DidFinishNavigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_TEST_BASE_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_TEST_BASE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_TEST_BASE_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_TEST_BASE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 23 matching lines...) Expand all
34 34
35 // Wait for navigation to succeed. 35 // Wait for navigation to succeed.
36 void Wait(); 36 void Wait();
37 37
38 // Returns the RenderFrameHost that navigated. 38 // Returns the RenderFrameHost that navigated.
39 content::RenderFrameHost* render_frame_host() { return render_frame_host_; } 39 content::RenderFrameHost* render_frame_host() { return render_frame_host_; }
40 40
41 // content::WebContentsObserver: 41 // content::WebContentsObserver:
42 void DidFinishLoad(content::RenderFrameHost* render_frame_host, 42 void DidFinishLoad(content::RenderFrameHost* render_frame_host,
43 const GURL& validated_url) override; 43 const GURL& validated_url) override;
44 void NavigationEntryCommitted( 44 void DidFinishNavigation(
45 const content::LoadCommittedDetails& load_details) override; 45 content::NavigationHandle* navigation_handle) override;
nasko 2016/03/16 18:20:04 very minor nit: Timewise, navigation is finished,
vabr (Chromium) 2016/03/17 15:36:29 Done.
46 46
47 private: 47 private:
48 std::string wait_for_path_; 48 std::string wait_for_path_;
49 content::RenderFrameHost* render_frame_host_; 49 content::RenderFrameHost* render_frame_host_;
50 bool quit_on_entry_committed_; 50 bool quit_on_entry_committed_;
51 scoped_refptr<content::MessageLoopRunner> message_loop_runner_; 51 scoped_refptr<content::MessageLoopRunner> message_loop_runner_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(NavigationObserver); 53 DISALLOW_COPY_AND_ASSIGN(NavigationObserver);
54 }; 54 };
55 55
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 // Accessors 146 // Accessors
147 content::WebContents* WebContents(); 147 content::WebContents* WebContents();
148 content::RenderViewHost* RenderViewHost(); 148 content::RenderViewHost* RenderViewHost();
149 149
150 private: 150 private:
151 DISALLOW_COPY_AND_ASSIGN(PasswordManagerBrowserTestBase); 151 DISALLOW_COPY_AND_ASSIGN(PasswordManagerBrowserTestBase);
152 }; 152 };
153 153
154 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_TEST_BASE_H_ 154 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_TEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698