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

Unified Diff: chrome/browser/managed_mode/managed_mode_navigation_observer.h

Issue 11826059: Add ManagedUserService for profile-specific managed user data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 7 years, 11 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/managed_mode/managed_mode_navigation_observer.h
diff --git a/chrome/browser/managed_mode/managed_mode_navigation_observer.h b/chrome/browser/managed_mode/managed_mode_navigation_observer.h
index 53ab1c9b5a24d751cd0ed4b81703d1cb7f9ac144..3fb4bd329a0ba3c470511753e78ffef0ab661e7a 100644
--- a/chrome/browser/managed_mode/managed_mode_navigation_observer.h
+++ b/chrome/browser/managed_mode/managed_mode_navigation_observer.h
@@ -13,6 +13,7 @@
class InfoBarDelegate;
class ManagedModeURLFilter;
+class ManagedUserService;
class ManagedModeNavigationObserver
: public content::WebContentsObserver,
@@ -106,7 +107,10 @@ class ManagedModeNavigationObserver
content::PageTransition transition_type,
content::RenderViewHost* render_view_host) OVERRIDE;
- // Owned by ManagedMode (which is a singleton and outlives us).
+ // Owned by the profile, so outlives us.
+ ManagedUserService* managed_user_service_;
+
+ // Owned by ManagedUserService.
const ManagedModeURLFilter* url_filter_;
// Owned by the InfoBarService, which has the same lifetime as this object.

Powered by Google App Engine
This is Rietveld 408576698