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

Unified Diff: chrome/browser/managed_mode.h

Issue 10388239: Make NetworkProfileBubble not use BrowserList::GetLastActive() as much. Instead pass it a profile a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 138102)
+++ chrome/browser/managed_mode.h (working copy)
@@ -40,8 +40,8 @@
static void LeaveManagedMode();
// BrowserList::Observer implementation:
- virtual void OnBrowserAdded(const Browser* browser) OVERRIDE;
- virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE;
+ virtual void OnBrowserAdded(Browser* browser) OVERRIDE;
+ virtual void OnBrowserRemoved(Browser* browser) OVERRIDE;
// content::NotificationObserver implementation:
virtual void Observe(int type,
@@ -76,7 +76,7 @@
// The managed profile. This is non-NULL only while we're entering
// managed mode.
const Profile* managed_profile_;
- std::set<const Browser*> browsers_to_close_;
+ std::set<Browser*> browsers_to_close_;
std::vector<EnterCallback> callbacks_;
};

Powered by Google App Engine
This is Rietveld 408576698