| OLD | NEW |
| (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 | |
| OLD | NEW |