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

Unified Diff: content/renderer/mojo/blink_service_registry_impl.h

Issue 2003023002: Introduce the Blink NotificationService, move permission checks there (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/content_browser.gypi ('k') | content/renderer/mojo/blink_service_registry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo/blink_service_registry_impl.h
diff --git a/content/renderer/mojo/blink_service_registry_impl.h b/content/renderer/mojo/blink_service_registry_impl.h
index 8bd86321e68d722c3f5cdf53fc739cb9f6ed9362..b731e9512c489180f6c3e94f39b850c507d2a43e 100644
--- a/content/renderer/mojo/blink_service_registry_impl.h
+++ b/content/renderer/mojo/blink_service_registry_impl.h
@@ -6,10 +6,15 @@
#define CONTENT_RENDERER_MOJO_BLINK_SERVICE_REGISTRY_IMPL_H_
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "third_party/WebKit/public/platform/ServiceRegistry.h"
+namespace base {
+class SingleThreadTaskRunner;
+}
+
namespace content {
class ServiceRegistry;
@@ -29,6 +34,10 @@ class BlinkServiceRegistryImpl : public blink::ServiceRegistry {
private:
const base::WeakPtr<content::ServiceRegistry> service_registry_;
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
+
+ base::WeakPtrFactory<BlinkServiceRegistryImpl> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(BlinkServiceRegistryImpl);
};
« no previous file with comments | « content/content_browser.gypi ('k') | content/renderer/mojo/blink_service_registry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698