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

Issue 7648045: Remove the include dependency of the chrome_notification_types.h header from content. (Closed)

Created:
9 years, 4 months ago by ananta
Modified:
9 years, 4 months ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

Remove the include dependency of the chrome_notification_types.h header from content. The dependency was in the ResourceDispatcherHostBrowserTest code which subscribed to the chrome::NOTIFICATION_BROWSER_WINDOW_READY event fired by Chrome. To remove this dependency these tests now subscribe to the notification content::NOTIFICATION_TAB_ADDED which is fired after the above notification. Fixes bug http://crbug.com/88871 BUG=88871 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96975

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -5 lines) Patch
M content/browser/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_browsertest.cc View 2 chunks +2 lines, -2 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
ananta
9 years, 4 months ago (2011-08-16 01:16:22 UTC) #1
jam
9 years, 4 months ago (2011-08-16 01:19:31 UTC) #2
lgtm

http://codereview.chromium.org/7648045/diff/1/content/browser/renderer_host/r...
File content/browser/renderer_host/resource_dispatcher_host_browsertest.cc
(right):

http://codereview.chromium.org/7648045/diff/1/content/browser/renderer_host/r...
content/browser/renderer_host/resource_dispatcher_host_browsertest.cc:8:
#include "content/common/content_notification_types.h"
nit: move this down

Powered by Google App Engine
This is Rietveld 408576698