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

Unified Diff: content/browser/loader/stream_resource_handler.h

Issue 19798012: Remove security_origin member from content::Stream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unittests 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/stream_resource_handler.h
diff --git a/content/browser/loader/stream_resource_handler.h b/content/browser/loader/stream_resource_handler.h
index ce5405780868314086f5e80aedf3e643f021b369..037ebdc91045015bae0273d79844ebb4e24c4035 100644
--- a/content/browser/loader/stream_resource_handler.h
+++ b/content/browser/loader/stream_resource_handler.h
@@ -23,9 +23,12 @@ class StreamRegistry;
class StreamResourceHandler : public StreamWriteObserver,
public ResourceHandler {
public:
+ // |origin| will be used to construct the URL for the Stream. See
+ // WebCore::BlobURL and and WebCore::SecurityOrigin in Blink to understand
+ // how origin check is done on resource loading.
StreamResourceHandler(net::URLRequest* request,
StreamRegistry* registry,
- const GURL& security_origin);
+ const GURL& origin);
virtual ~StreamResourceHandler();
virtual bool OnUploadProgress(int request_id,
@@ -78,4 +81,3 @@ class StreamResourceHandler : public StreamWriteObserver,
} // namespace content
#endif // CONTENT_BROWSER_LOADER_STREAM_RESOURCE_HANDLER_H_
-
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/browser/loader/stream_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698