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

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

Issue 12645004: Add Resource Handler for creating Streams to forward to extensions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review fixes Created 7 years, 9 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/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 30532bdcb082a3a75f0bfa8c4efdd127e391acc5..bf0c6b9ca56b5acec87df22b882c5316d9be3229 100644
--- a/content/browser/loader/resource_request_info_impl.h
+++ b/content/browser/loader/resource_request_info_impl.h
@@ -52,6 +52,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,
@@ -103,6 +104,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;
}
@@ -133,6 +138,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_;

Powered by Google App Engine
This is Rietveld 408576698