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

Side by Side Diff: Source/core/html/parser/HTMLPreloadScanner.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 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 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 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 #include "core/html/parser/HTMLPreloadScanner.h" 29 #include "core/html/parser/HTMLPreloadScanner.h"
30 30
31 #include "HTMLNames.h" 31 #include "HTMLNames.h"
32 #include "core/html/InputTypeNames.h" 32 #include "core/html/InputTypeNames.h"
33 #include "core/html/LinkRelAttribute.h" 33 #include "core/html/LinkRelAttribute.h"
34 #include "core/html/parser/HTMLParserIdioms.h" 34 #include "core/html/parser/HTMLParserIdioms.h"
35 #include "core/html/parser/HTMLTokenizer.h" 35 #include "core/html/parser/HTMLTokenizer.h"
36 #include <wtf/Functional.h> 36 #include "wtf/MainThread.h"
37 #include <wtf/MainThread.h>
38 37
39 namespace WebCore { 38 namespace WebCore {
40 39
41 using namespace HTMLNames; 40 using namespace HTMLNames;
42 41
43 static bool match(const StringImpl* impl, const QualifiedName& qName) 42 static bool match(const StringImpl* impl, const QualifiedName& qName)
44 { 43 {
45 return impl == qName.localName().impl(); 44 return impl == qName.localName().impl();
46 } 45 }
47 46
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 if (m_token.type() == HTMLToken::StartTag) 353 if (m_token.type() == HTMLToken::StartTag)
355 m_tokenizer->updateStateFor(AtomicString(m_token.name())); 354 m_tokenizer->updateStateFor(AtomicString(m_token.name()));
356 m_scanner.scan(m_token, m_source, requests); 355 m_scanner.scan(m_token, m_source, requests);
357 m_token.clear(); 356 m_token.clear();
358 } 357 }
359 358
360 preloader->takeAndPreload(requests); 359 preloader->takeAndPreload(requests);
361 } 360 }
362 361
363 } 362 }
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLParserScheduler.h ('k') | Source/core/html/parser/HTMLSourceTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698