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

Unified Diff: chrome/browser/services/gcm/gcm_profile_service.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/services/gcm/gcm_profile_service.h
diff --git a/chrome/browser/services/gcm/gcm_profile_service.h b/chrome/browser/services/gcm/gcm_profile_service.h
index abfd3ce9141e1313dca1d27b5b87873470069831..d397e8250b2c9addf9983bd9b70571873d61c4a0 100644
--- a/chrome/browser/services/gcm/gcm_profile_service.h
+++ b/chrome/browser/services/gcm/gcm_profile_service.h
@@ -50,6 +50,7 @@ class GCMProfileService : public KeyedService {
void Register(const std::string& app_id,
const std::vector<std::string>& sender_ids,
const GCMDriver::RegisterCallback& callback);
+ Profile* profile() const { return profile_; }
Miguel Garcia 2014/06/19 17:49:28 Since after the rebase profile is now injected int
// KeyedService:
virtual void Shutdown() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698