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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1915373002: Implement empty WorkerInternals interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trials-in-service-workers
Patch Set: forward declare v8 types and pass by const-ref 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
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index c7a244b6d8c49c5092b4e12956fe58912cc74be4..07318555d2f2fd696e5e9950b2d35af0e2a73739 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -57,6 +57,11 @@
class GrContext;
+namespace v8 {
+class Context;
+template<class T> class Local;
+}
+
namespace blink {
class ServiceRegistry;
@@ -618,6 +623,8 @@ public:
virtual WebTrialTokenValidator* trialTokenValidator() { return nullptr; }
+ virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { }
kinuko 2016/05/09 12:00:15 nit: should this rather be listed in the block com
+
protected:
Platform();
virtual ~Platform() { }
« no previous file with comments | « third_party/WebKit/Source/web/WebTestingSupport.cpp ('k') | third_party/WebKit/public/web/WebTestingSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698