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

Unified Diff: content/public/test/javascript_test_observer.cc

Issue 286243003: Move JavascriptTestObserver from chrome to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: content/public/test/javascript_test_observer.cc
diff --git a/chrome/test/base/javascript_test_observer.cc b/content/public/test/javascript_test_observer.cc
similarity index 95%
rename from chrome/test/base/javascript_test_observer.cc
rename to content/public/test/javascript_test_observer.cc
index d010b93dcfae86216108c1135e0b2ea953e3ccfd..6689047eb0ef9f4c7cf8e98a6e77016571f1162f 100644
--- a/chrome/test/base/javascript_test_observer.cc
+++ b/content/public/test/javascript_test_observer.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/test/base/javascript_test_observer.h"
+#include "content/public/test/javascript_test_observer.h"
#include "content/public/browser/dom_operation_notification_details.h"
#include "content/public/browser/notification_types.h"
@@ -10,6 +10,8 @@
#include "content/public/browser/web_contents.h"
#include "content/public/test/test_utils.h"
+namespace content {
+
TestMessageHandler::TestMessageHandler() : ok_(true) {
}
@@ -88,3 +90,5 @@ void JavascriptTestObserver::EndTest() {
base::MessageLoopForUI::current()->Quit();
}
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698