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

Side by Side Diff: Source/core/html/parser/CSSPreloadScanner.cpp

Issue 17388003: Remove unused includes from core/{editing,fileapi,history,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/
4 * Copyright (C) 2010 Google Inc. All Rights Reserved. 4 * Copyright (C) 2010 Google Inc. All Rights Reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 12 matching lines...) Expand all
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 #include "core/html/parser/CSSPreloadScanner.h" 29 #include "core/html/parser/CSSPreloadScanner.h"
30 30
31 #include "core/html/parser/HTMLIdentifier.h" 31 #include "core/html/parser/HTMLIdentifier.h"
32 #include "core/html/parser/HTMLParserIdioms.h" 32 #include "core/html/parser/HTMLParserIdioms.h"
33 #include "core/loader/cache/CachedResourceRequestInitiators.h"
34 #include "core/platform/text/SegmentedString.h" 33 #include "core/platform/text/SegmentedString.h"
35 34
36 namespace WebCore { 35 namespace WebCore {
37 36
38 CSSPreloadScanner::CSSPreloadScanner() 37 CSSPreloadScanner::CSSPreloadScanner()
39 : m_state(Initial) 38 : m_state(Initial)
40 , m_requests(0) 39 , m_requests(0)
41 { 40 {
42 } 41 }
43 42
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 m_state = Initial; 223 m_state = Initial;
225 } else if (equalIgnoringCase("charset", m_rule.characters(), m_rule.length() )) 224 } else if (equalIgnoringCase("charset", m_rule.characters(), m_rule.length() ))
226 m_state = Initial; 225 m_state = Initial;
227 else 226 else
228 m_state = DoneParsingImportRules; 227 m_state = DoneParsingImportRules;
229 m_rule.clear(); 228 m_rule.clear();
230 m_ruleValue.clear(); 229 m_ruleValue.clear();
231 } 230 }
232 231
233 } 232 }
OLDNEW
« no previous file with comments | « Source/core/html/parser/BackgroundHTMLParser.cpp ('k') | Source/core/html/parser/HTMLConstructionSite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698