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

Side by Side Diff: Source/core/fetch/ResourceFetcher.h

Issue 52563002: Remove TextTrackResource (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@dataReceived
Patch Set: simplify Created 7 years, 1 month 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/core.gypi ('k') | Source/core/fetch/ResourceFetcher.cpp » ('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) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
5 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ 5 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
6 6
7 This library is free software; you can redistribute it and/or 7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public 8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either 9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version. 10 version 2 of the License, or (at your option) any later version.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 namespace WebCore { 43 namespace WebCore {
44 44
45 class CSSStyleSheetResource; 45 class CSSStyleSheetResource;
46 class DocumentResource; 46 class DocumentResource;
47 class FetchContext; 47 class FetchContext;
48 class FontResource; 48 class FontResource;
49 class ImageResource; 49 class ImageResource;
50 class RawResource; 50 class RawResource;
51 class ScriptResource; 51 class ScriptResource;
52 class ShaderResource; 52 class ShaderResource;
53 class TextTrackResource;
54 class XSLStyleSheetResource; 53 class XSLStyleSheetResource;
55 class Document; 54 class Document;
56 class DocumentLoader; 55 class DocumentLoader;
57 class Frame; 56 class Frame;
58 class FrameLoader; 57 class FrameLoader;
59 class ImageLoader; 58 class ImageLoader;
60 class KURL; 59 class KURL;
61 class ResourceTimingInfo; 60 class ResourceTimingInfo;
62 class ResourceLoaderSet; 61 class ResourceLoaderSet;
63 62
(...skipping 21 matching lines...) Expand all
85 ResourcePtr<ImageResource> fetchImage(FetchRequest&); 84 ResourcePtr<ImageResource> fetchImage(FetchRequest&);
86 ResourcePtr<CSSStyleSheetResource> fetchCSSStyleSheet(FetchRequest&); 85 ResourcePtr<CSSStyleSheetResource> fetchCSSStyleSheet(FetchRequest&);
87 ResourcePtr<CSSStyleSheetResource> fetchUserCSSStyleSheet(FetchRequest&); 86 ResourcePtr<CSSStyleSheetResource> fetchUserCSSStyleSheet(FetchRequest&);
88 ResourcePtr<ScriptResource> fetchScript(FetchRequest&); 87 ResourcePtr<ScriptResource> fetchScript(FetchRequest&);
89 ResourcePtr<FontResource> fetchFont(FetchRequest&); 88 ResourcePtr<FontResource> fetchFont(FetchRequest&);
90 ResourcePtr<RawResource> fetchRawResource(FetchRequest&); 89 ResourcePtr<RawResource> fetchRawResource(FetchRequest&);
91 ResourcePtr<RawResource> fetchMainResource(FetchRequest&); 90 ResourcePtr<RawResource> fetchMainResource(FetchRequest&);
92 ResourcePtr<DocumentResource> fetchSVGDocument(FetchRequest&); 91 ResourcePtr<DocumentResource> fetchSVGDocument(FetchRequest&);
93 ResourcePtr<XSLStyleSheetResource> fetchXSLStyleSheet(FetchRequest&); 92 ResourcePtr<XSLStyleSheetResource> fetchXSLStyleSheet(FetchRequest&);
94 ResourcePtr<Resource> fetchLinkResource(Resource::Type, FetchRequest&); 93 ResourcePtr<Resource> fetchLinkResource(Resource::Type, FetchRequest&);
95 ResourcePtr<TextTrackResource> fetchTextTrack(FetchRequest&);
96 ResourcePtr<ShaderResource> fetchShader(FetchRequest&); 94 ResourcePtr<ShaderResource> fetchShader(FetchRequest&);
97 ResourcePtr<RawResource> fetchImport(FetchRequest&); 95 ResourcePtr<RawResource> fetchImport(FetchRequest&);
98 96
99 // Logs an access denied message to the console for the specified URL. 97 // Logs an access denied message to the console for the specified URL.
100 void printAccessDeniedMessage(const KURL&) const; 98 void printAccessDeniedMessage(const KURL&) const;
101 99
102 Resource* cachedResource(const String& url) const; 100 Resource* cachedResource(const String& url) const;
103 Resource* cachedResource(const KURL&) const; 101 Resource* cachedResource(const KURL&) const;
104 102
105 typedef HashMap<String, ResourcePtr<Resource> > DocumentResourceMap; 103 typedef HashMap<String, ResourcePtr<Resource> > DocumentResourceMap;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 m_loader->m_allowStaleResources = m_previousState; 237 m_loader->m_allowStaleResources = m_previousState;
240 } 238 }
241 private: 239 private:
242 ResourceFetcher* m_loader; 240 ResourceFetcher* m_loader;
243 bool m_previousState; 241 bool m_previousState;
244 }; 242 };
245 243
246 } // namespace WebCore 244 } // namespace WebCore
247 245
248 #endif 246 #endif
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698