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

Unified Diff: chrome/test/base/testing_profile.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/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 1c7aa7aca4c54339b4ad8f72acee255d8cd9010c..3b04e38f68b51fd5f8ff5156532d33ac26f062de 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -820,6 +820,14 @@ content::PushMessagingService* TestingProfile::GetPushMessagingService() {
return NULL;
}
+content::PushMessagingService* TestingProfile::GetPushMessagingService() {
+ return NULL;
+}
+
+gcm::GCMPermissionContext* TestingProfile::GetPushMessagingPermissionContext() {
+ return NULL;
+}
+
bool TestingProfile::IsSameProfile(Profile *p) {
return this == p;
}

Powered by Google App Engine
This is Rietveld 408576698