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

Side by Side Diff: Source/core/loader/cache/CachedTextTrack.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple 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 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23 * THE POSSIBILITY OF SUCH DAMAGE. 23 * THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 27
28 #include "core/loader/cache/CachedTextTrack.h" 28 #include "core/loader/cache/CachedTextTrack.h"
29 29
30 #include "core/loader/cache/CachedResourceClient.h" 30 #include "core/loader/cache/CachedResourceClient.h"
31 #include "core/loader/cache/CachedResourceClientWalker.h" 31 #include "core/loader/cache/CachedResourceClientWalker.h"
32 #include <wtf/Vector.h>
33 32
34 namespace WebCore { 33 namespace WebCore {
35 34
36 CachedTextTrack::CachedTextTrack(const ResourceRequest& resourceRequest) 35 CachedTextTrack::CachedTextTrack(const ResourceRequest& resourceRequest)
37 : CachedResource(resourceRequest, TextTrackResource) 36 : CachedResource(resourceRequest, TextTrackResource)
38 { 37 {
39 } 38 }
40 39
41 CachedTextTrack::~CachedTextTrack() 40 CachedTextTrack::~CachedTextTrack()
42 { 41 {
43 } 42 }
44 43
45 void CachedTextTrack::appendData(const char* data, int length) 44 void CachedTextTrack::appendData(const char* data, int length)
46 { 45 {
47 CachedResource::appendData(data, length); 46 CachedResource::appendData(data, length);
48 CachedResourceClientWalker<CachedResourceClient> walker(m_clients); 47 CachedResourceClientWalker<CachedResourceClient> walker(m_clients);
49 while (CachedResourceClient *client = walker.next()) 48 while (CachedResourceClient *client = walker.next())
50 client->deprecatedDidReceiveCachedResource(this); 49 client->deprecatedDidReceiveCachedResource(this);
51 } 50 }
52 51
53 } 52 }
54 53
OLDNEW
« no previous file with comments | « Source/core/loader/cache/CachedTextTrack.h ('k') | Source/core/loader/cache/CachedXSLStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698