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

Unified Diff: content/browser/streams/stream.h

Issue 19798012: Remove security_origin member from content::Stream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.cc ('k') | content/browser/streams/stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/streams/stream.h
diff --git a/content/browser/streams/stream.h b/content/browser/streams/stream.h
index 912e4374e6a9e6b49f90d6d14c3384ce71e74401..42724b76271f515e9a83cf8638293bc6abb6d001 100644
--- a/content/browser/streams/stream.h
+++ b/content/browser/streams/stream.h
@@ -38,10 +38,9 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> {
STREAM_EMPTY,
};
- // Creates a stream useable from the |security_origin|.
+ // Creates a stream.
Charlie Reis 2013/07/24 20:33:21 Can you add something about the security origin ch
tyoshino (SeeGerritForStatus) 2013/07/25 03:27:59 Done.
Stream(StreamRegistry* registry,
StreamWriteObserver* write_observer,
- const GURL& security_origin,
const GURL& url);
// Sets the reader of this stream. Returns true on success, or false if there
@@ -75,8 +74,6 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> {
const GURL& url() const { return url_; }
- const GURL& security_origin() const { return security_origin_; }
-
private:
friend class base::RefCountedThreadSafe<Stream>;
@@ -88,7 +85,6 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> {
size_t data_bytes_read_;
bool can_add_data_;
- GURL security_origin_;
GURL url_;
scoped_refptr<net::IOBuffer> data_;
« no previous file with comments | « content/browser/loader/stream_resource_handler.cc ('k') | content/browser/streams/stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698