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

Unified Diff: third_party/WebKit/Source/core/origin_trials/testing/WorkerInternalsFrobulate.h

Issue 1828063002: Add support for origin trials in workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trial-token-in-header-blink-document
Patch Set: fix test flakyness 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/Source/core/origin_trials/testing/WorkerInternalsFrobulate.h
diff --git a/third_party/WebKit/Source/core/origin_trials/testing/WorkerInternalsFrobulate.h b/third_party/WebKit/Source/core/origin_trials/testing/WorkerInternalsFrobulate.h
new file mode 100644
index 0000000000000000000000000000000000000000..c5ac8a8450d703f0838a770136e65f3aa002eac9
--- /dev/null
+++ b/third_party/WebKit/Source/core/origin_trials/testing/WorkerInternalsFrobulate.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WorkerInternalsFrobulate_h
+#define WorkerInternalsFrobulate_h
+
+#include "wtf/Allocator.h"
+
+namespace blink {
+
+class WorkerInternals;
+
+class WorkerInternalsFrobulate final {
+ STATIC_ONLY(WorkerInternalsFrobulate);
+public:
+ static bool frobulate(WorkerInternals&) { return true; }
+};
+
+} // namespace blink
+
+#endif // WorkerInternalsFrobulate_h

Powered by Google App Engine
This is Rietveld 408576698