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

Side by Side Diff: Source/core/loader/TextTrackLoader.cpp

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 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/core/loader/TextResourceDecoder.cpp ('k') | Source/core/loader/ThreadableLoader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 27
28 #include "core/loader/TextTrackLoader.h" 28 #include "core/loader/TextTrackLoader.h"
29 29
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/html/track/WebVTTParser.h" 31 #include "core/html/track/WebVTTParser.h"
32 #include "core/inspector/ScriptCallStack.h"
33 #include "core/loader/CrossOriginAccessControl.h" 32 #include "core/loader/CrossOriginAccessControl.h"
34 #include "core/loader/cache/CachedResourceLoader.h" 33 #include "core/loader/cache/CachedResourceLoader.h"
35 #include "core/loader/cache/CachedResourceRequest.h" 34 #include "core/loader/cache/CachedResourceRequest.h"
36 #include "core/loader/cache/CachedResourceRequestInitiators.h" 35 #include "core/loader/cache/CachedResourceRequestInitiators.h"
37 #include "core/loader/cache/CachedTextTrack.h" 36 #include "core/loader/cache/CachedTextTrack.h"
38 #include "core/platform/Logging.h" 37 #include "core/platform/Logging.h"
39 #include "core/platform/SharedBuffer.h" 38 #include "core/platform/SharedBuffer.h"
40 #include "core/platform/network/ResourceHandle.h"
41 #include "weborigin/SecurityOrigin.h" 39 #include "weborigin/SecurityOrigin.h"
42 40
43 namespace WebCore { 41 namespace WebCore {
44 42
45 TextTrackLoader::TextTrackLoader(TextTrackLoaderClient* client, ScriptExecutionC ontext* context) 43 TextTrackLoader::TextTrackLoader(TextTrackLoaderClient* client, ScriptExecutionC ontext* context)
46 : m_client(client) 44 : m_client(client)
47 , m_scriptExecutionContext(context) 45 , m_scriptExecutionContext(context)
48 , m_cueLoadTimer(this, &TextTrackLoader::cueLoadTimerFired) 46 , m_cueLoadTimer(this, &TextTrackLoader::cueLoadTimerFired)
49 , m_state(Idle) 47 , m_state(Idle)
50 , m_parseOffset(0) 48 , m_parseOffset(0)
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 #if ENABLE(WEBVTT_REGIONS) 214 #if ENABLE(WEBVTT_REGIONS)
217 void TextTrackLoader::getNewRegions(Vector<RefPtr<TextTrackRegion> >& outputRegi ons) 215 void TextTrackLoader::getNewRegions(Vector<RefPtr<TextTrackRegion> >& outputRegi ons)
218 { 216 {
219 ASSERT(m_cueParser); 217 ASSERT(m_cueParser);
220 if (m_cueParser) 218 if (m_cueParser)
221 m_cueParser->getNewRegions(outputRegions); 219 m_cueParser->getNewRegions(outputRegions);
222 } 220 }
223 #endif 221 #endif
224 } 222 }
225 223
OLDNEW
« no previous file with comments | « Source/core/loader/TextResourceDecoder.cpp ('k') | Source/core/loader/ThreadableLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698