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

Unified Diff: chrome/browser/managed_mode.h

Issue 10690151: Move implementation of BrowserList onto an inner, instantiatable class, BrowserListImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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.h
===================================================================
--- chrome/browser/managed_mode.h (revision 146126)
+++ chrome/browser/managed_mode.h (working copy)
@@ -13,7 +13,7 @@
#include "base/compiler_specific.h"
#include "base/memory/singleton.h"
#include "chrome/browser/extensions/management_policy.h"
-#include "chrome/browser/ui/browser_list.h"
+#include "chrome/browser/ui/browser_list_observer.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -27,7 +27,7 @@
// person by pre-configuring and then locking a managed User profile.
// The ManagedMode class provides methods to check whether the browser is in
// managed mode, and to attempt to enter or leave managed mode.
-class ManagedMode : public BrowserList::Observer,
+class ManagedMode : public chrome::BrowserListObserver,
public extensions::ManagementPolicy::Provider,
public content::NotificationObserver {
public:
@@ -52,7 +52,7 @@
virtual bool UserMayModifySettings(const extensions::Extension* extension,
string16* error) const OVERRIDE;
- // BrowserList::Observer implementation:
+ // chrome::BrowserListObserver implementation:
virtual void OnBrowserAdded(Browser* browser) OVERRIDE;
virtual void OnBrowserRemoved(Browser* browser) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698