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

Unified Diff: chrome/test/test_navigation_observer.cc

Issue 8676032: Move RenderViewHostObserver to content/public/browser/ and put it into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/test/test_navigation_observer.cc
diff --git a/chrome/test/test_navigation_observer.cc b/chrome/test/test_navigation_observer.cc
index 7e0c2f0a2f933b4f718d61bb8919ad3fc2d158cf..0e9f6bb632a575ab60b49817fa3ae873b887d415 100644
--- a/chrome/test/test_navigation_observer.cc
+++ b/chrome/test/test_navigation_observer.cc
@@ -5,24 +5,25 @@
#include "chrome/test/test_navigation_observer.h"
#include "chrome/test/base/ui_test_utils.h"
-#include "content/browser/renderer_host/render_view_host_observer.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/browser/render_view_host_observer.h"
#include "testing/gtest/include/gtest/gtest.h"
// This class observes |rvh| and calls OnJsInjectionReady() of
// |js_injection_ready_observer| when the time is right to inject
// JavaScript into the page.
-class TestNavigationObserver::RVHOSendJS : public RenderViewHostObserver {
+class TestNavigationObserver::RVHOSendJS
+ : public content::RenderViewHostObserver {
public:
RVHOSendJS(RenderViewHost* rvh,
JsInjectionReadyObserver* js_injection_ready_observer)
- : RenderViewHostObserver(rvh),
+ : content::RenderViewHostObserver(rvh),
js_injection_ready_observer_(js_injection_ready_observer) {
}
private:
- // RenderViewHostObserver implementation.
+ // content::RenderViewHostObserver implementation.
virtual void RenderViewHostInitialized() OVERRIDE {
if (js_injection_ready_observer_)
js_injection_ready_observer_->OnJsInjectionReady(render_view_host());

Powered by Google App Engine
This is Rietveld 408576698