| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/navigation_handle.h" | 8 #include "content/public/browser/navigation_handle.h" |
| 9 | 9 |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 State state_; | 384 State state_; |
| 385 | 385 |
| 386 // Whether the navigation is in the middle of a transfer. Set to false when | 386 // Whether the navigation is in the middle of a transfer. Set to false when |
| 387 // the DidStartProvisionalLoad is received from the new renderer. | 387 // the DidStartProvisionalLoad is received from the new renderer. |
| 388 bool is_transferring_; | 388 bool is_transferring_; |
| 389 | 389 |
| 390 // The FrameTreeNode this navigation is happening in. | 390 // The FrameTreeNode this navigation is happening in. |
| 391 FrameTreeNode* frame_tree_node_; | 391 FrameTreeNode* frame_tree_node_; |
| 392 | 392 |
| 393 // A list of Throttles registered for this navigation. | 393 // A list of Throttles registered for this navigation. |
| 394 ScopedVector<NavigationThrottle> throttles_; | 394 std::vector<std::unique_ptr<NavigationThrottle>> throttles_; |
| 395 | 395 |
| 396 // The index of the next throttle to check. | 396 // The index of the next throttle to check. |
| 397 size_t next_index_; | 397 size_t next_index_; |
| 398 | 398 |
| 399 // The time this navigation started. | 399 // The time this navigation started. |
| 400 const base::TimeTicks navigation_start_; | 400 const base::TimeTicks navigation_start_; |
| 401 | 401 |
| 402 // The unique id of the corresponding NavigationEntry. | 402 // The unique id of the corresponding NavigationEntry. |
| 403 int pending_nav_entry_id_; | 403 int pending_nav_entry_id_; |
| 404 | 404 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 std::string searchable_form_encoding_; | 454 std::string searchable_form_encoding_; |
| 455 | 455 |
| 456 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; | 456 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; |
| 457 | 457 |
| 458 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); | 458 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
| 459 }; | 459 }; |
| 460 | 460 |
| 461 } // namespace content | 461 } // namespace content |
| 462 | 462 |
| 463 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 463 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
| OLD | NEW |