| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // The url to load. This field is required. | 109 // The url to load. This field is required. |
| 110 GURL url; | 110 GURL url; |
| 111 | 111 |
| 112 // See LoadURLType comments above. | 112 // See LoadURLType comments above. |
| 113 LoadURLType load_type; | 113 LoadURLType load_type; |
| 114 | 114 |
| 115 // PageTransition for this load. See PageTransition for details. | 115 // PageTransition for this load. See PageTransition for details. |
| 116 // Note the default value in constructor below. | 116 // Note the default value in constructor below. |
| 117 PageTransition transition_type; | 117 PageTransition transition_type; |
| 118 | 118 |
| 119 int64 frame_tree_node_id; |
| 120 |
| 119 // Referrer for this load. Empty if none. | 121 // Referrer for this load. Empty if none. |
| 120 Referrer referrer; | 122 Referrer referrer; |
| 121 | 123 |
| 122 // Any redirect URLs that occurred for this navigation before |url|. | 124 // Any redirect URLs that occurred for this navigation before |url|. |
| 123 // Defaults to an empty vector. | 125 // Defaults to an empty vector. |
| 124 std::vector<GURL> redirect_chain; | 126 std::vector<GURL> redirect_chain; |
| 125 | 127 |
| 126 // Extra headers for this load, separated by \n. | 128 // Extra headers for this load, separated by \n. |
| 127 std::string extra_headers; | 129 std::string extra_headers; |
| 128 | 130 |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 | 441 |
| 440 private: | 442 private: |
| 441 // This interface should only be implemented inside content. | 443 // This interface should only be implemented inside content. |
| 442 friend class NavigationControllerImpl; | 444 friend class NavigationControllerImpl; |
| 443 NavigationController() {} | 445 NavigationController() {} |
| 444 }; | 446 }; |
| 445 | 447 |
| 446 } // namespace content | 448 } // namespace content |
| 447 | 449 |
| 448 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 450 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
| OLD | NEW |