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

Unified Diff: content/public/browser/content_browser_client.h

Issue 398163008: Export content_common dependency from some content targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add content::NotificationPresenterPermission enum Created 6 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 356c724e59da6db092aa0055e5fa68f3d94432e0..1f8be59786af1e7da94ec05d88afb44bf7a97303 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -16,6 +16,7 @@
#include "base/memory/scoped_vector.h"
#include "base/values.h"
#include "content/public/browser/certificate_request_result_type.h"
+#include "content/public/browser/notification_presenter_permission.h"
#include "content/public/common/content_client.h"
#include "content/public/common/resource_type.h"
#include "content/public/common/socket_permission_request.h"
@@ -24,7 +25,6 @@
#include "net/cookies/canonical_cookie.h"
#include "net/url_request/url_request_interceptor.h"
#include "net/url_request/url_request_job_factory.h"
-#include "third_party/WebKit/public/web/WebNotificationPresenter.h"
#include "ui/base/window_open_disposition.h"
#include "webkit/browser/fileapi/file_system_context.h"
@@ -427,7 +427,7 @@ class CONTENT_EXPORT ContentBrowserClient {
// Checks if the given page has permission to show desktop notifications.
// This is called on the IO thread.
- virtual blink::WebNotificationPresenter::Permission
+ virtual NotificationPresenterPermission
CheckDesktopNotificationPermission(
const GURL& source_url,
ResourceContext* context,
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698