OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_RENDERER_NAVIGATION_STATE_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_NAVIGATION_STATE_H_ |
6 #define CONTENT_PUBLIC_RENDERER_NAVIGATION_STATE_H_ | 6 #define CONTENT_PUBLIC_RENDERER_NAVIGATION_STATE_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/public/common/page_transition_types.h" | 8 #include "content/public/common/page_transition_types.h" |
10 | 9 |
11 namespace content { | 10 namespace content { |
12 | 11 |
13 // NavigationState is the portion of DocumentState that is affected by | 12 // NavigationState is the portion of DocumentState that is affected by |
14 // in-document navigation. | 13 // in-document navigation. |
15 // TODO(simonjam): Move this to HistoryItem's ExtraData. | 14 // TODO(simonjam): Move this to HistoryItem's ExtraData. |
16 class NavigationState { | 15 class NavigationState { |
17 public: | 16 public: |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 int transferred_request_child_id_; | 95 int transferred_request_child_id_; |
97 int transferred_request_request_id_; | 96 int transferred_request_request_id_; |
98 bool allow_download_; | 97 bool allow_download_; |
99 | 98 |
100 DISALLOW_COPY_AND_ASSIGN(NavigationState); | 99 DISALLOW_COPY_AND_ASSIGN(NavigationState); |
101 }; | 100 }; |
102 | 101 |
103 #endif // CONTENT_PUBLIC_RENDERER_NAVIGATION_STATE_H_ | 102 #endif // CONTENT_PUBLIC_RENDERER_NAVIGATION_STATE_H_ |
104 | 103 |
105 } // namespace content | 104 } // namespace content |
OLD | NEW |