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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 | 479 |
480 // A list of Throttles registered for this navigation. | 480 // A list of Throttles registered for this navigation. |
481 std::vector<std::unique_ptr<NavigationThrottle>> throttles_; | 481 std::vector<std::unique_ptr<NavigationThrottle>> throttles_; |
482 | 482 |
483 // The index of the next throttle to check. | 483 // The index of the next throttle to check. |
484 size_t next_index_; | 484 size_t next_index_; |
485 | 485 |
486 // The time this navigation started. | 486 // The time this navigation started. |
487 const base::TimeTicks navigation_start_; | 487 const base::TimeTicks navigation_start_; |
488 | 488 |
| 489 // The time this naviagtion was ready to commit. |
| 490 base::TimeTicks ready_to_commit_time_; |
| 491 |
489 // The unique id of the corresponding NavigationEntry. | 492 // The unique id of the corresponding NavigationEntry. |
490 int pending_nav_entry_id_; | 493 int pending_nav_entry_id_; |
491 | 494 |
492 // The fetch request context type. | 495 // The fetch request context type. |
493 RequestContextType request_context_type_; | 496 RequestContextType request_context_type_; |
494 | 497 |
495 // The mixed content context type for potential mixed content checks. | 498 // The mixed content context type for potential mixed content checks. |
496 blink::WebMixedContentContextType mixed_content_context_type_; | 499 blink::WebMixedContentContextType mixed_content_context_type_; |
497 | 500 |
498 // This callback will be run when all throttle checks have been performed. Be | 501 // This callback will be run when all throttle checks have been performed. Be |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 int expected_render_process_host_id_; | 581 int expected_render_process_host_id_; |
579 | 582 |
580 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; | 583 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; |
581 | 584 |
582 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); | 585 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
583 }; | 586 }; |
584 | 587 |
585 } // namespace content | 588 } // namespace content |
586 | 589 |
587 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 590 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
OLD | NEW |