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

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

Issue 1014703007: The platform notification context should observe the Service Worker Context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-db-ReadAllData
Patch Set: 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
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/platform_notification_context.h
diff --git a/content/public/browser/platform_notification_context.h b/content/public/browser/platform_notification_context.h
index 781635fd5530b10d824bc08b96c30f76efdc24db..660ff19d018b5d43af7851f9bfc45878c91065ea 100644
--- a/content/public/browser/platform_notification_context.h
+++ b/content/public/browser/platform_notification_context.h
@@ -8,7 +8,6 @@
#include <stdint.h>
#include "base/callback.h"
-#include "base/memory/ref_counted.h"
class GURL;
@@ -19,8 +18,7 @@ struct NotificationDatabaseData;
// Represents the storage context for persistent Web Notifications, specific to
// the storage partition owning the instance. All methods defined in this
// interface may only be used on the IO thread.
-class PlatformNotificationContext
- : public base::RefCountedThreadSafe<PlatformNotificationContext> {
+class PlatformNotificationContext {
public:
using ReadResultCallback =
base::Callback<void(bool /* success */,
@@ -55,8 +53,6 @@ class PlatformNotificationContext
const DeleteResultCallback& callback) = 0;
protected:
- friend class base::RefCountedThreadSafe<PlatformNotificationContext>;
-
virtual ~PlatformNotificationContext() {}
};
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698