| Index: content/public/renderer/navigation_state.h
|
| diff --git a/content/public/renderer/navigation_state.h b/content/public/renderer/navigation_state.h
|
| index cb6bc64208028a8476ddb7d4feea5af84486b9da..f33e515d9793379c28cf28697c229aed011ae5ba 100644
|
| --- a/content/public/renderer/navigation_state.h
|
| +++ b/content/public/renderer/navigation_state.h
|
| @@ -73,6 +73,12 @@ class NavigationState {
|
| int transferred_request_request_id() const {
|
| return transferred_request_request_id_;
|
| }
|
| + void set_allow_download(bool value) {
|
| + allow_download_ = value;
|
| + }
|
| + bool allow_download() const {
|
| + return allow_download_;
|
| + }
|
|
|
| private:
|
| NavigationState(content::PageTransition transition_type,
|
| @@ -89,6 +95,7 @@ class NavigationState {
|
| bool was_within_same_page_;
|
| int transferred_request_child_id_;
|
| int transferred_request_request_id_;
|
| + bool allow_download_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NavigationState);
|
| };
|
|
|