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

Unified Diff: Source/core/html/parser/CSSPreloadScanner.h

Issue 166633002: Prefetch @import files from CSS files. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Prefetch @import files from CSS files. Scans until state finished in preload scanner. Created 6 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: Source/core/html/parser/CSSPreloadScanner.h
diff --git a/Source/core/html/parser/CSSPreloadScanner.h b/Source/core/html/parser/CSSPreloadScanner.h
index 8c32899755376cbe54f0f67f79a52d5a8fa342c2..cc3b5dcf84a1731efb4504cd91c09a4378a28960 100644
--- a/Source/core/html/parser/CSSPreloadScanner.h
+++ b/Source/core/html/parser/CSSPreloadScanner.h
@@ -45,6 +45,7 @@ public:
void scan(const HTMLToken::DataVector&, const SegmentedString&, PreloadRequestStream&);
void scan(const String&, const SegmentedString&, PreloadRequestStream&);
+ bool isDoneParsing() { return m_state == DoneParsingImportRules; }
eseidel 2014/05/20 07:10:37 It's probably better to call this isDoneParsingImp
private:
enum State {
« Source/core/html/HTMLLinkElement.cpp ('K') | « Source/core/html/HTMLLinkElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698