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

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

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
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index f4a2f387d3f252eddb90a0e8ee5816f537c76fee..785469eccfcfbd142e138c5ab1d84286da95fbec 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -204,12 +204,12 @@ MediaObserver* ContentBrowserClient::GetMediaObserver() {
return NULL;
}
-blink::WebNotificationPresenter::Permission
+NotificationPresenterPermission
ContentBrowserClient::CheckDesktopNotificationPermission(
const GURL& source_origin,
ResourceContext* context,
int render_process_id) {
- return blink::WebNotificationPresenter::PermissionAllowed;
+ return NOTIFICATION_PRESENTER_PERMISSION_ALLOWED;
}
void ContentBrowserClient::RequestGeolocationPermission(
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/notification_presenter_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698