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

Unified Diff: Source/core/html/HTMLImportLoader.h

Issue 137983010: (Re)organize handling of CORS access control during resource loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: HTMLImportLoader no longer needs a ResourceFetcher Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLImportChild.cpp ('k') | Source/core/html/HTMLImportLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImportLoader.h
diff --git a/Source/core/html/HTMLImportLoader.h b/Source/core/html/HTMLImportLoader.h
index 7f659a6d9121e6bacda14170449066d18053f418..a09f658f0dcd23cfafa3ba0b4a3c5b2c51f57924 100644
--- a/Source/core/html/HTMLImportLoader.h
+++ b/Source/core/html/HTMLImportLoader.h
@@ -57,7 +57,10 @@ public:
StateReady
};
- static PassRefPtr<HTMLImportLoader> create(HTMLImport*, ResourceFetcher*);
+ static PassRefPtr<HTMLImportLoader> create(HTMLImport* import)
+ {
+ return adoptRef(new HTMLImportLoader(import));
+ }
virtual ~HTMLImportLoader();
@@ -74,7 +77,7 @@ public:
bool isOwnedBy(const HTMLImport* import) const { return m_import == import; }
private:
- HTMLImportLoader(HTMLImport*, ResourceFetcher*);
+ HTMLImportLoader(HTMLImport*);
// RawResourceClient
virtual void responseReceived(Resource*, const ResourceResponse&) OVERRIDE;
@@ -89,7 +92,6 @@ private:
void didFinish();
HTMLImport* m_import;
- ResourceFetcher* m_fetcher;
Vector<HTMLImportLoaderClient*> m_clients;
State m_state;
RefPtr<Document> m_importedDocument;
« no previous file with comments | « Source/core/html/HTMLImportChild.cpp ('k') | Source/core/html/HTMLImportLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698