| 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_BROWSER_NAVIGATION_CONTROLLER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 135 |
| 136 // User agent override for this load. See comments in | 136 // User agent override for this load. See comments in |
| 137 // UserAgentOverrideOption definition. | 137 // UserAgentOverrideOption definition. |
| 138 UserAgentOverrideOption override_user_agent; | 138 UserAgentOverrideOption override_user_agent; |
| 139 | 139 |
| 140 // Marks the new navigation as being transferred from one RVH to another. | 140 // Marks the new navigation as being transferred from one RVH to another. |
| 141 // In this case the browser can recycle the old request once the new | 141 // In this case the browser can recycle the old request once the new |
| 142 // renderer wants to navigate. Identifies the request ID of the old request. | 142 // renderer wants to navigate. Identifies the request ID of the old request. |
| 143 GlobalRequestID transferred_global_request_id; | 143 GlobalRequestID transferred_global_request_id; |
| 144 | 144 |
| 145 // Used in LOAD_TYPE_DATA loads only. Carries the payload data of this |
| 146 // data: URL. (i.e. everything after the "data:mime/type," prefix). |
| 147 scoped_refptr<base::RefCountedMemory> data_for_data_url; |
| 148 |
| 145 // Used in LOAD_TYPE_DATA loads only. Used for specifying a base URL | 149 // Used in LOAD_TYPE_DATA loads only. Used for specifying a base URL |
| 146 // for pages loaded via data URLs. | 150 // for pages loaded via data URLs. |
| 147 GURL base_url_for_data_url; | 151 GURL base_url_for_data_url; |
| 148 | 152 |
| 149 // Used in LOAD_TYPE_DATA loads only. URL displayed to the user for | 153 // Used in LOAD_TYPE_DATA loads only. URL displayed to the user for |
| 150 // data loads. | 154 // data loads. |
| 151 GURL virtual_url_for_data_url; | 155 GURL virtual_url_for_data_url; |
| 152 | 156 |
| 153 // Used in LOAD_TYPE_BROWSER_INITIATED_HTTP_POST loads only. Carries the | 157 // Used in LOAD_TYPE_BROWSER_INITIATED_HTTP_POST loads only. Carries the |
| 154 // post data of the load. Ownership is transferred to NavigationController | 158 // post data of the load. Ownership is transferred to NavigationController |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 | 447 |
| 444 private: | 448 private: |
| 445 // This interface should only be implemented inside content. | 449 // This interface should only be implemented inside content. |
| 446 friend class NavigationControllerImpl; | 450 friend class NavigationControllerImpl; |
| 447 NavigationController() {} | 451 NavigationController() {} |
| 448 }; | 452 }; |
| 449 | 453 |
| 450 } // namespace content | 454 } // namespace content |
| 451 | 455 |
| 452 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 456 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
| OLD | NEW |