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

Unified Diff: public/platform/WebStreams.h

Issue 924713002: [WIP] ReadableStream V8 extension (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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: public/platform/WebStreams.h
diff --git a/Source/core/fetch/AccessControlStatus.h b/public/platform/WebStreams.h
similarity index 50%
copy from Source/core/fetch/AccessControlStatus.h
copy to public/platform/WebStreams.h
index a697fc6d5041e01bac03fba3f930d4d62c1f5e17..336154594a2e2cc2ec6c180186be16701fedfe57 100644
--- a/Source/core/fetch/AccessControlStatus.h
+++ b/public/platform/WebStreams.h
@@ -2,16 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef AccessControlStatus_h
-#define AccessControlStatus_h
+#ifndef WebStreams_h
+#define WebStreams_h
+
+#include "WebCommon.h"
+#include "v8/include/v8.h"
namespace blink {
-enum AccessControlStatus {
- NotSharableCrossOrigin,
- SharableCrossOrigin
+class WebStreams {
+public:
+ BLINK_PLATFORM_EXPORT static v8::Extension* CreateV8Extension();
};
} // namespace blink
-#endif // AccessControlStatus_h
+#endif // WebStreams_h
« Source/platform/streams/WebStreams.cpp ('K') | « Source/platform/streams/WebStreams.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698