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

Unified Diff: ios/web/public/navigation_manager.h

Issue 1361173005: Created SerializedUserDataManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@serialized_navigation_manager
Patch Set: Created 5 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: ios/web/public/navigation_manager.h
diff --git a/ios/web/public/navigation_manager.h b/ios/web/public/navigation_manager.h
index 1798197d2df8e8ae267360d84ad5c5430e5533f4..93f6d692545f860d214fa77a3ffb09992fbd7f50 100644
--- a/ios/web/public/navigation_manager.h
+++ b/ios/web/public/navigation_manager.h
@@ -5,6 +5,7 @@
#ifndef IOS_WEB_PUBLIC_NAVIGATION_MANAGER_H_
#define IOS_WEB_PUBLIC_NAVIGATION_MANAGER_H_
+#include "base/supports_user_data.h"
#include "ios/web/public/browser_url_rewriter.h"
namespace web {
@@ -18,9 +19,9 @@ class WebState;
//
// Each NavigationManager belongs to one WebState; each WebState has
// exactly one NavigationManager.
-class NavigationManager {
+class NavigationManager : public base::SupportsUserData {
Eugene But (OOO till 7-30) 2015/09/24 17:05:07 Is there any specific reason why NavigationManager
kkhorimoto 2015/09/24 21:24:29 I initially did this because of the style guide's
public:
- virtual ~NavigationManager() {}
+ ~NavigationManager() override {}
// Gets the BrowserState associated with this NavigationManager. Can never
// return null.

Powered by Google App Engine
This is Rietveld 408576698