Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: content/browser/frame_host/navigation_controller_impl.h

Issue 2174293002: NonValidatingReload: Monitor reload operations in NavigationControllerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use NavigationEntryImpl to keep ReloadType Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CONTROLLER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 441
442 // Used to smooth out timestamps from |get_timestamp_callback_|. 442 // Used to smooth out timestamps from |get_timestamp_callback_|.
443 // Without this, whenever there is a run of redirects or 443 // Without this, whenever there is a run of redirects or
444 // code-generated navigations, those navigations may occur within 444 // code-generated navigations, those navigations may occur within
445 // the timer resolution, leading to things sometimes showing up in 445 // the timer resolution, leading to things sometimes showing up in
446 // the wrong order in the history view. 446 // the wrong order in the history view.
447 TimeSmoother time_smoother_; 447 TimeSmoother time_smoother_;
448 448
449 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_; 449 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
450 450
451 // Used to track if the last navigation type is for reload operations.
Charlie Reis 2016/08/08 23:57:53 We should be specific about whether this refers to
Takashi Toyoshima 2016/08/09 12:06:17 This is confusing, but when NotifyNavigationEntryC
452 bool is_last_navigation_reload_;
453
454 // Used to track the last reload type.
455 ReloadType last_reload_type_;
456
457 // Used to track delta time between subsequent navigations for the main frame.
458 base::Time last_navigation_time_;
Charlie Reis 2016/08/08 23:57:54 I'm wondering if this is already tracked somewhere
Takashi Toyoshima 2016/08/09 12:06:17 At this point, the entry is already overwritten wi
459
451 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 460 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
452 }; 461 };
453 462
454 } // namespace content 463 } // namespace content
455 464
456 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 465 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698