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

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: [rebase] Created 4 years, 2 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
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 444
445 // Used to smooth out timestamps from |get_timestamp_callback_|. 445 // Used to smooth out timestamps from |get_timestamp_callback_|.
446 // Without this, whenever there is a run of redirects or 446 // Without this, whenever there is a run of redirects or
447 // code-generated navigations, those navigations may occur within 447 // code-generated navigations, those navigations may occur within
448 // the timer resolution, leading to things sometimes showing up in 448 // the timer resolution, leading to things sometimes showing up in
449 // the wrong order in the history view. 449 // the wrong order in the history view.
450 TimeSmoother time_smoother_; 450 TimeSmoother time_smoother_;
451 451
452 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_; 452 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
453 453
454 // Used for tracking consecutive reload requests. If the last user-initiated
455 // navigation (either browser-initiated or renderer-initiated with a user
456 // gesture) was a reload, these hold the ReloadType and timestamp. Otherwise
457 // these are ReloadType::NONE and a null timestamp, respectively.
458 ReloadType last_committed_reload_type_;
459 base::Time last_committed_reload_time_;
460
454 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 461 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
455 }; 462 };
456 463
457 } // namespace content 464 } // namespace content
458 465
459 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 466 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698