OLD | NEW |
---|---|
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 friend class ImageLoader; | 74 friend class ImageLoader; |
75 friend class ResourceCacheValidationSuppressor; | 75 friend class ResourceCacheValidationSuppressor; |
76 | 76 |
77 public: | 77 public: |
78 static PassRefPtr<ResourceFetcher> create(DocumentLoader* documentLoader) { return adoptRef(new ResourceFetcher(documentLoader)); } | 78 static PassRefPtr<ResourceFetcher> create(DocumentLoader* documentLoader) { return adoptRef(new ResourceFetcher(documentLoader)); } |
79 virtual ~ResourceFetcher(); | 79 virtual ~ResourceFetcher(); |
80 | 80 |
81 using RefCounted<ResourceFetcher>::ref; | 81 using RefCounted<ResourceFetcher>::ref; |
82 using RefCounted<ResourceFetcher>::deref; | 82 using RefCounted<ResourceFetcher>::deref; |
83 | 83 |
84 unsigned long fetchSynchronously(const ResourceRequest&, StoredCredentials, ResourceError&, ResourceResponse&, Vector<char>&); | |
abarth-chromium
2013/09/06 19:28:28
Are these parameters different from the ones in Fe
Nate Chapin
2013/09/06 19:34:03
ResourceRequest and StoredCredentials exist on Fet
| |
85 | |
84 ResourcePtr<ImageResource> fetchImage(FetchRequest&); | 86 ResourcePtr<ImageResource> fetchImage(FetchRequest&); |
85 ResourcePtr<CSSStyleSheetResource> fetchCSSStyleSheet(FetchRequest&); | 87 ResourcePtr<CSSStyleSheetResource> fetchCSSStyleSheet(FetchRequest&); |
86 ResourcePtr<CSSStyleSheetResource> fetchUserCSSStyleSheet(FetchRequest&); | 88 ResourcePtr<CSSStyleSheetResource> fetchUserCSSStyleSheet(FetchRequest&); |
87 ResourcePtr<ScriptResource> fetchScript(FetchRequest&); | 89 ResourcePtr<ScriptResource> fetchScript(FetchRequest&); |
88 ResourcePtr<FontResource> fetchFont(FetchRequest&); | 90 ResourcePtr<FontResource> fetchFont(FetchRequest&); |
89 ResourcePtr<RawResource> fetchRawResource(FetchRequest&); | 91 ResourcePtr<RawResource> fetchRawResource(FetchRequest&); |
90 ResourcePtr<RawResource> fetchMainResource(FetchRequest&); | 92 ResourcePtr<RawResource> fetchMainResource(FetchRequest&); |
91 ResourcePtr<DocumentResource> fetchSVGDocument(FetchRequest&); | 93 ResourcePtr<DocumentResource> fetchSVGDocument(FetchRequest&); |
92 ResourcePtr<XSLStyleSheetResource> fetchXSLStyleSheet(FetchRequest&); | 94 ResourcePtr<XSLStyleSheetResource> fetchXSLStyleSheet(FetchRequest&); |
93 ResourcePtr<Resource> fetchLinkResource(Resource::Type, FetchRequest&); | 95 ResourcePtr<Resource> fetchLinkResource(Resource::Type, FetchRequest&); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
235 m_loader->m_allowStaleResources = m_previousState; | 237 m_loader->m_allowStaleResources = m_previousState; |
236 } | 238 } |
237 private: | 239 private: |
238 ResourceFetcher* m_loader; | 240 ResourceFetcher* m_loader; |
239 bool m_previousState; | 241 bool m_previousState; |
240 }; | 242 }; |
241 | 243 |
242 } // namespace WebCore | 244 } // namespace WebCore |
243 | 245 |
244 #endif | 246 #endif |
OLD | NEW |