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

Issue 398163008: Export content_common dependency from some content targets. (Closed)

Created:
6 years, 5 months ago by tkent
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add content::NotificationPresenterPermission. This removes Blink header dependency from content_browser_client.h. BUG=350097

Patch Set 1 #

Patch Set 2 : Add content::NotificationPresenterPermission enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -15 lines) Patch
M android_webview/browser/aw_content_browser_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 3 chunks +12 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 3 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
A content/public/browser/notification_presenter_permission.h View 1 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
tkent
Please review this. This CL will fix the Windows build failure in https://codereview.chromium.org/189703002/#msg7
6 years, 5 months ago (2014-07-17 02:27:03 UTC) #1
jochen (gone - plz use gerrit)
On 2014/07/17 at 02:27:03, tkent wrote: > Please review this. > This CL will fix ...
6 years, 5 months ago (2014-07-17 07:09:01 UTC) #2
tkent
On 2014/07/17 07:09:01, jochen wrote: > wouldn't it be better if browser/ didn't have stuff ...
6 years, 5 months ago (2014-07-17 07:56:52 UTC) #3
tkent
On 2014/07/17 07:56:52, tkent wrote: > It sounds better. I'll try it. I uploaded new ...
6 years, 5 months ago (2014-07-17 08:35:07 UTC) #4
jochen (gone - plz use gerrit)
lgtm if you feel extra generous, you could change the DesktopNotificationHostMsg_CheckPermission IPC to send back ...
6 years, 5 months ago (2014-07-17 09:16:02 UTC) #5
tkent
+benm and boliu for android_webview. > if you feel extra generous, you could change the ...
6 years, 5 months ago (2014-07-17 09:18:42 UTC) #6
Peter Beverloo
I added public/platform/WebNotificationPermission.h to get rid of the dependency on public/web/, and started using it ...
6 years, 5 months ago (2014-07-17 09:42:19 UTC) #7
Peter Beverloo
On 2014/07/17 09:42:19, Peter Beverloo wrote: > I added public/platform/WebNotificationPermission.h to get rid of the ...
6 years, 5 months ago (2014-07-17 09:46:12 UTC) #8
tkent
On 2014/07/17 09:46:12, Peter Beverloo wrote: > On 2014/07/17 09:42:19, Peter Beverloo wrote: > > ...
6 years, 5 months ago (2014-07-17 09:59:55 UTC) #9
tkent
On 2014/07/17 09:59:55, tkent wrote: > Your CLs will resolve the issue. This CL is ...
6 years, 5 months ago (2014-07-23 03:44:19 UTC) #10
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 5 months ago (2014-07-23 03:44:46 UTC) #11
tkent
The CQ bit was unchecked by tkent@chromium.org
6 years, 5 months ago (2014-07-23 03:44:50 UTC) #12
Peter Beverloo
On 2014/07/23 03:44:19, tkent wrote: > On 2014/07/17 09:59:55, tkent wrote: > > Your CLs ...
6 years, 5 months ago (2014-07-23 03:46:12 UTC) #13
tkent
> Reopening this, and landing it. I meant Patch Set 1. Reusing this CL would ...
6 years, 5 months ago (2014-07-23 03:46:23 UTC) #14
tkent
On 2014/07/23 03:46:12, Peter Beverloo wrote: > I don't understand that reason. Can you clarify ...
6 years, 5 months ago (2014-07-23 03:48:41 UTC) #15
Peter Beverloo
On 2014/07/23 03:48:41, tkent wrote: > On 2014/07/23 03:46:12, Peter Beverloo wrote: > > I ...
6 years, 5 months ago (2014-07-23 03:59:50 UTC) #16
tkent
6 years, 5 months ago (2014-07-23 04:24:48 UTC) #17
Message was sent while issue was closed.
On 2014/07/23 03:59:50, Peter Beverloo wrote:
> Right, so the problem occurs when a Chrome target includes a header in
> public/platform/ which in turn includes another header in public/platform,
when
> said target does not explicitly depend on the "blink_headers" target.
> 
> WebNotificationPermission.h does not include any of such files. It will be
> included by WebNotificationPresenter.h (which will move to public/platform/),
> but the only references to that class will be in content/renderer/, which does
> define a dependency on the "blink_headers" target.
> 
> Is the goal to not depend on any Blink headers outside of content/? Which
> compilation unit triggers these failures?

My goals are
1. Replace |#include "../platform/WebFoo.h"| with |#include
"public/platform/WebFoo.h" in public/web/*.h <crbug.com/350097>
2. Replace |#include "WebFoo.h"| with |#include "public/platform/WebFoo.h" in
public/platform/*.h

- Your CL will help 1.
- It's ok that content/ depends on Blink public headers.

Powered by Google App Engine
This is Rietveld 408576698