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

Unified Diff: content/public/browser/push_messaging_service.h

Issue 996813002: Deflake PushMessagingBrowserTest.DenyPushPermissionUnregisters & friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use scoped_refptr Created 5 years, 9 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/push_messaging_service.h
diff --git a/content/public/browser/push_messaging_service.h b/content/public/browser/push_messaging_service.h
index d9a51d4ec68c841017016b4f54fbf16bd6cd4d5e..8464e5c774f9725503a75c94bc28ae7d85e5749c 100644
--- a/content/public/browser/push_messaging_service.h
+++ b/content/public/browser/push_messaging_service.h
@@ -7,7 +7,7 @@
#include <string>
-#include "base/callback.h"
+#include "base/callback_forward.h"
#include "content/common/content_export.h"
#include "content/public/common/push_messaging_status.h"
#include "third_party/WebKit/public/platform/modules/push_messaging/WebPushPermissionStatus.h"
@@ -99,7 +99,8 @@ class CONTENT_EXPORT PushMessagingService {
// |service_worker_registration_id| for the given |origin|.
static void ClearPushRegistrationID(BrowserContext* browser_context,
const GURL& origin,
- int64 service_worker_registration_id);
+ int64 service_worker_registration_id,
+ const base::Closure& callback);
};
} // namespace content
« no previous file with comments | « chrome/browser/push_messaging/push_messaging_service_impl.cc ('k') | content/public/browser/push_messaging_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698