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

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

Issue 10079023: Move notifications used only in chrome/ out of content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: six! Created 8 years, 8 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/resource_dispatcher_host_browsertest.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host_browsertest.cc b/content/browser/renderer_host/resource_dispatcher_host_browsertest.cc
index 18b72e23007507bc72500bee552b5402aa8b7198..77508cc550fe4381a27a180ce38ec439c09928e8 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_browsertest.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host_browsertest.cc
@@ -9,7 +9,6 @@
#include "chrome/test/base/ui_test_utils.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/notification_service.h"
-#include "content/public/browser/notification_types.h"
#include "net/test/test_server.h"
class ResourceDispatcherHostBrowserTest : public InProcessBrowserTest {
@@ -30,8 +29,7 @@ bool ResourceDispatcherHostBrowserTest::GetPopupTitle(const GURL& url,
string16* title) {
ui_test_utils::NavigateToURL(browser(), url);
- ui_test_utils::WindowedNotificationObserver observer(
- content::NOTIFICATION_TAB_ADDED,
+ ui_test_utils::WindowedTabAddedNotificationObserver observer(
content::NotificationService::AllSources());
// Create dynamic popup.

Powered by Google App Engine
This is Rietveld 408576698