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

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

Issue 12212031: Add support for redirecting ResourceHandlers to a blob: URL (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review fixes Created 7 years, 10 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/resource_loader.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_request_info_impl.h
diff --git a/content/browser/loader/resource_request_info_impl.h b/content/browser/loader/resource_request_info_impl.h
index b8e505f3c9c765f1947817a0759de57c7d5958ce..2f51240fc791962a3040ea9a81f6ecd887c77af3 100644
--- a/content/browser/loader/resource_request_info_impl.h
+++ b/content/browser/loader/resource_request_info_impl.h
@@ -53,6 +53,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
ResourceType::Type resource_type,
PageTransition transition_type,
bool is_download,
+ bool is_stream,
bool allow_download,
bool has_user_gesture,
WebKit::WebReferrerPolicy referrer_policy,
@@ -111,6 +112,10 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool is_download() const { return is_download_; }
void set_is_download(bool download) { is_download_ = download; }
+ // Whether this is a stream.
+ bool is_stream() const { return is_stream_; }
+ void set_is_stream(bool stream) { is_stream_ = stream; }
+
void set_was_ignored_by_handler(bool value) {
was_ignored_by_handler_ = value;
}
@@ -142,6 +147,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool parent_is_main_frame_;
int64 parent_frame_id_;
bool is_download_;
+ bool is_stream_;
bool allow_download_;
bool has_user_gesture_;
bool was_ignored_by_handler_;
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698