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

Unified Diff: components/sessions/core/serialized_navigation_driver.h

Issue 2759333002: Move chrome-specific SerializedNavigation code to chrome/. (Closed)
Patch Set: Fix Android Created 3 years, 9 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: components/sessions/core/serialized_navigation_driver.h
diff --git a/components/sessions/core/serialized_navigation_driver.h b/components/sessions/core/serialized_navigation_driver.h
index 5fc261e4a95c5915f0c3dc2fef55beb33ad14352..74bbfefe1cbe9fbc3d1b323a2fa0c23d9fcfe132 100644
--- a/components/sessions/core/serialized_navigation_driver.h
+++ b/components/sessions/core/serialized_navigation_driver.h
@@ -18,8 +18,6 @@ class SerializedNavigationEntry;
// must be provided by the driver on each platform.
class SESSIONS_EXPORT SerializedNavigationDriver {
public:
- virtual ~SerializedNavigationDriver() {}
-
// Returns the singleton SerializedNavigationDriver.
static SerializedNavigationDriver* Get();
@@ -50,6 +48,9 @@ class SESSIONS_EXPORT SerializedNavigationDriver {
// Removes the referrer from the encoded page state.
virtual std::string StripReferrerFromPageState(
const std::string& page_state) const = 0;
+
+ protected:
+ virtual ~SerializedNavigationDriver() {}
};
} // namespace sessions

Powered by Google App Engine
This is Rietveld 408576698