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

Unified Diff: chrome/browser/supervised_user/supervised_user_navigation_observer.h

Issue 1408643002: [Sync] Componentize synced_tab_delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test broken by rebase Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/supervised_user/supervised_user_navigation_observer.h
diff --git a/chrome/browser/supervised_user/supervised_user_navigation_observer.h b/chrome/browser/supervised_user/supervised_user_navigation_observer.h
index 6149e616ce8ea4a58d99be63c1bf03d8f97e3c62..3400881f74a2a1d005bc02670da38ae1edceef4b 100644
--- a/chrome/browser/supervised_user/supervised_user_navigation_observer.h
+++ b/chrome/browser/supervised_user/supervised_user_navigation_observer.h
@@ -11,6 +11,7 @@
#include "chrome/browser/supervised_user/supervised_user_service_observer.h"
#include "chrome/browser/supervised_user/supervised_user_url_filter.h"
#include "chrome/browser/supervised_user/supervised_users.h"
+#include "components/sessions/core/serialized_navigation_entry.h"
#include "content/public/browser/web_contents_user_data.h"
class SupervisedUserService;
@@ -26,8 +27,8 @@ class SupervisedUserNavigationObserver
public:
~SupervisedUserNavigationObserver() override;
- const std::vector<const content::NavigationEntry*>*
- blocked_navigations() const {
+ const std::vector<const sessions::SerializedNavigationEntry*>*
+ blocked_navigations() const {
return &blocked_navigations_.get();
}
@@ -63,7 +64,7 @@ class SupervisedUserNavigationObserver
// Owned by SupervisedUserServiceFactory (lifetime of Profile).
SupervisedUserService* supervised_user_service_;
- ScopedVector<const content::NavigationEntry> blocked_navigations_;
+ ScopedVector<const sessions::SerializedNavigationEntry> blocked_navigations_;
base::WeakPtrFactory<SupervisedUserNavigationObserver> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698