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

Unified Diff: content/browser/renderer_host/render_view_host_browsertest.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/browser/renderer_host/render_view_host_browsertest.cc
===================================================================
--- content/browser/renderer_host/render_view_host_browsertest.cc (revision 91968)
+++ content/browser/renderer_host/render_view_host_browsertest.cc (working copy)
@@ -26,7 +26,7 @@
public:
ExecuteNotificationObserver() : id_(0) {}
- virtual void Observe(NotificationType type,
+ virtual void Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
id_ = (static_cast<Details<ExecuteDetailType > >(details))->first;
@@ -65,7 +65,7 @@
ExecuteNotificationObserver observer;
ui_test_utils::RegisterAndWait(
out_result,
- NotificationType::EXECUTE_JAVASCRIPT_RESULT,
+ content::NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT,
Source<RenderViewHost>(rvh));
EXPECT_EQ(execute_id, out_result->id());
ASSERT_TRUE(out_result->value());

Powered by Google App Engine
This is Rietveld 408576698