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

Unified Diff: chrome/test/base/ui_test_utils.cc

Issue 12832004: content: Move all listeners of NOTIFICATION_RENDER_VIEW_HOST_CREATED out of content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/test_tab_strip_model_observer.cc ('k') | chrome/test/base/web_ui_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils.cc
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index 884de82df1d16a6afa4106352ddd0802dec65e6c..0a2b5559f5193fdb25debd022370b01fbcd4a269 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -193,7 +193,7 @@ bool GetCurrentTabTitle(const Browser* browser, string16* title) {
void WaitForNavigations(NavigationController* controller,
int number_of_navigations) {
content::TestNavigationObserver observer(
- content::Source<NavigationController>(controller), NULL,
+ content::Source<NavigationController>(controller),
number_of_navigations);
base::RunLoop run_loop;
observer.WaitForObservation(
@@ -226,7 +226,7 @@ Browser* OpenURLOffTheRecord(Profile* profile, const GURL& url) {
void NavigateToURL(chrome::NavigateParams* params) {
content::TestNavigationObserver observer(
- content::NotificationService::AllSources(), NULL, 1);
+ content::NotificationService::AllSources(), 1);
chrome::Navigate(params);
base::RunLoop run_loop;
observer.WaitForObservation(
@@ -257,7 +257,6 @@ static void NavigateToURLWithDispositionBlockUntilNavigationsComplete(
&tab_strip->GetActiveWebContents()->GetController() : NULL;
content::TestNavigationObserver same_tab_observer(
content::Source<NavigationController>(controller),
- NULL,
number_of_navigations);
std::set<Browser*> initial_browsers;
« no previous file with comments | « chrome/test/base/test_tab_strip_model_observer.cc ('k') | chrome/test/base/web_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698