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

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

Issue 8586009: Allow WebUI Tests to use preLoad in HtmlDialogUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years, 1 month 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_navigation_observer.h ('k') | chrome/test/base/test_tab_strip_model_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/test_navigation_observer.cc
diff --git a/chrome/test/test_navigation_observer.cc b/chrome/test/base/test_navigation_observer.cc
similarity index 91%
rename from chrome/test/test_navigation_observer.cc
rename to chrome/test/base/test_navigation_observer.cc
index 0e9f6bb632a575ab60b49817fa3ae873b887d415..2a57df78d929a11369c98c1895e4512826faca68 100644
--- a/chrome/test/test_navigation_observer.cc
+++ b/chrome/test/base/test_navigation_observer.cc
@@ -2,8 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/test/test_navigation_observer.h"
+#include "chrome/test/base/test_navigation_observer.h"
+#include "chrome/test/base/js_injection_ready_observer.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
@@ -34,16 +35,9 @@ class TestNavigationObserver::RVHOSendJS
DISALLOW_COPY_AND_ASSIGN(RVHOSendJS);
};
-TestNavigationObserver::JsInjectionReadyObserver::JsInjectionReadyObserver() {
-}
-
-TestNavigationObserver::JsInjectionReadyObserver::~JsInjectionReadyObserver() {
-}
-
TestNavigationObserver::TestNavigationObserver(
const content::NotificationSource& source,
- TestNavigationObserver::JsInjectionReadyObserver*
- js_injection_ready_observer,
+ JsInjectionReadyObserver* js_injection_ready_observer,
int number_of_navigations)
: navigation_started_(false),
navigations_completed_(0),
@@ -71,7 +65,7 @@ void TestNavigationObserver::WaitForObservation() {
}
TestNavigationObserver::TestNavigationObserver(
- TestNavigationObserver::JsInjectionReadyObserver*
+ JsInjectionReadyObserver*
js_injection_ready_observer,
int number_of_navigations)
: navigation_started_(false),
« no previous file with comments | « chrome/test/base/test_navigation_observer.h ('k') | chrome/test/base/test_tab_strip_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698