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

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: update expectations Created 4 years, 8 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..5c4bacbdea076a3361b32c738e323e868ecfbe30 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -55,6 +55,8 @@
#include "WebVector.h"
#include "base/metrics/user_metrics_action.h"
+#include <v8/include/v8.h>
jochen (gone - plz use gerrit) 2016/05/06 10:42:09 can you forward declare instead? namespace v8 { t
Marijn Kruisselbrink 2016/05/06 16:14:30 Not unless I also change the method to pass the v8
Marijn Kruisselbrink 2016/05/06 16:20:35 Which actually is probably better (at least not wo
+
class GrContext;
namespace blink {
@@ -618,6 +620,8 @@ public:
virtual WebTrialTokenValidator* trialTokenValidator() { return nullptr; }
+ virtual void workerContextCreated(v8::Local<v8::Context> worker) { }
+
protected:
Platform();
virtual ~Platform() { }

Powered by Google App Engine
This is Rietveld 408576698