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

Unified Diff: content/public/browser/web_contents_observer.h

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: trybots ran with PS8, but one more safe change is added here Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index e2c42d0eefd9afc07bb09af1a0415f35dff06e6e..07790de74d26c131c3f155e32a476998aeee1b1a 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -12,6 +12,7 @@
#include "base/process/process_handle.h"
#include "content/common/content_export.h"
#include "content/public/browser/navigation_controller.h"
+#include "content/public/browser/reload_type.h"
#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/media_metadata.h"
#include "content/public/common/resource_type.h"
@@ -193,9 +194,8 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
// default mode, it is still necessary to override this function to be
// notified about a navigation earlier than DidStartProvisionalLoad. This
// function will be removed when PlzNavigate is enabled.
- virtual void DidStartNavigationToPendingEntry(
- const GURL& url,
- NavigationController::ReloadType reload_type) {}
+ virtual void DidStartNavigationToPendingEntry(const GURL& url,
+ ReloadType reload_type) {}
// |render_frame_host| is the RenderFrameHost for which the provisional load
// is happening.
« content/public/browser/reload_type.h ('K') | « content/public/browser/web_contents_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698