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

Unified Diff: chrome/browser/profiles/profile.h

Issue 343743004: Implement a permission check for push. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 1f5b50190b1670bc15d6bffc382a6123202f8cd8..7e0463f47b4aca59f2a80def93f35ad18d3e140a 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -55,6 +55,10 @@ namespace fileapi {
class FileSystemContext;
}
+namespace gcm {
+class GCMPermissionContext;
+}
+
namespace history {
class TopSites;
}
@@ -364,6 +368,8 @@ class Profile : public content::BrowserContext {
// Returns how the last session was shutdown.
virtual ExitType GetLastSessionExitType() = 0;
+ virtual gcm::GCMPermissionContext* GetPushMessagingPermissionContext() = 0;
+
// Stop sending accessibility events until ResumeAccessibilityEvents().
// Calls to Pause nest; no events will be sent until the number of
// Resume calls matches the number of Pause calls received.

Powered by Google App Engine
This is Rietveld 408576698