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

Unified Diff: Source/bindings/core/v8/ScriptStreamingMode.h

Issue 680493002: Revert "Script streaming: Add an option to make the main thread block (wait for parsing)" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « Source/bindings/core/v8/ScriptStreamerThread.cpp ('k') | Source/bindings/core/v8/v8.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptStreamingMode.h
diff --git a/Source/bindings/core/v8/ScriptStreamingMode.h b/Source/bindings/core/v8/ScriptStreamingMode.h
deleted file mode 100644
index d88d8fd05e7f904b3742ede3cd6dd300dad962b8..0000000000000000000000000000000000000000
--- a/Source/bindings/core/v8/ScriptStreamingMode.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2014 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 ScriptStreamingMode_h
-#define ScriptStreamingMode_h
-
-// ScriptStreamingModes are used for evaluating different heuristics for when we
-// should start streaming.
-
-namespace blink {
-
-enum ScriptStreamingMode {
- // Stream all scripts
- ScriptStreamingModeAll,
- // Stream only async and deferred scripts
- ScriptStreamingModeOnlyAsyncAndDefer,
- // Stream all scripts, block the main thread after loading when streaming
- // parser blocking scripts.
- ScriptStreamingModeAllPlusBlockParsingBlocking
-};
-
-} // namespace blink
-
-#endif // ScriptStreamingMode_h
« no previous file with comments | « Source/bindings/core/v8/ScriptStreamerThread.cpp ('k') | Source/bindings/core/v8/v8.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698