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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

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/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index ae2c925079e93d1521644158c04d28f5c8d205ae..84714f4b1954966d3a7b23a8815e87eb0fc14649 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -377,6 +377,11 @@ OffTheRecordProfileImpl::GetPushMessagingService() {
return NULL;
}
+gcm::GCMPermissionContext*
+OffTheRecordProfileImpl::GetPushMessagingPermissionContext() {
+ return NULL;
Michael van Ouwerkerk 2014/06/19 10:16:10 Add a TODO like above? // TODO(miguelg): Support p
Miguel Garcia 2014/06/19 17:49:28 There is already a TODO in GetPushMessagingService
+}
+
bool OffTheRecordProfileImpl::IsSameProfile(Profile* profile) {
return (profile == this) || (profile == profile_);
}

Powered by Google App Engine
This is Rietveld 408576698