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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ScriptStreamingMode_h
6 #define ScriptStreamingMode_h
7
8 // ScriptStreamingModes are used for evaluating different heuristics for when we
9 // should start streaming.
10
11 namespace blink {
12
13 enum ScriptStreamingMode {
14 // Stream all scripts
15 ScriptStreamingModeAll,
16 // Stream only async and deferred scripts
17 ScriptStreamingModeOnlyAsyncAndDefer,
18 // Stream all scripts, block the main thread after loading when streaming
19 // parser blocking scripts.
20 ScriptStreamingModeAllPlusBlockParsingBlocking
21 };
22
23 } // namespace blink
24
25 #endif // ScriptStreamingMode_h
OLDNEW
« 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