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

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

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
« no previous file with comments | « content/browser/loader/stream_resource_handler.h ('k') | content/browser/streams/stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/stream_resource_handler.cc
diff --git a/content/browser/loader/stream_resource_handler.cc b/content/browser/loader/stream_resource_handler.cc
index c832afab18129f928485e5d16e58e33efec88083..1e2acc877f541e7c0b56828f266f7c9652cc0112 100644
--- a/content/browser/loader/stream_resource_handler.cc
+++ b/content/browser/loader/stream_resource_handler.cc
@@ -18,13 +18,14 @@ namespace content {
StreamResourceHandler::StreamResourceHandler(
net::URLRequest* request,
StreamRegistry* registry,
- const GURL& security_origin)
+ const GURL& origin)
: request_(request),
read_buffer_(NULL) {
- // TODO(zork): Find a way to share this with the blob URL creation in WebKit.
+ // TODO(tyoshino): Find a way to share this with the blob URL creation in
+ // WebKit.
GURL url(std::string(chrome::kBlobScheme) + ":" +
- security_origin.spec() + base::GenerateGUID());
- stream_ = new Stream(registry, this, security_origin, url);
+ origin.spec() + base::GenerateGUID());
+ stream_ = new Stream(registry, this, url);
}
StreamResourceHandler::~StreamResourceHandler() {
@@ -115,4 +116,3 @@ void StreamResourceHandler::OnClose(Stream* stream) {
}
} // namespace content
-
« no previous file with comments | « content/browser/loader/stream_resource_handler.h ('k') | content/browser/streams/stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698