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

Unified Diff: chrome/browser/profiles/profile_manager.cc

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/profiles/profile_manager.cc
===================================================================
--- chrome/browser/profiles/profile_manager.cc (revision 138102)
+++ chrome/browser/profiles/profile_manager.cc (working copy)
@@ -607,13 +607,13 @@
}
void ProfileManager::BrowserListObserver::OnBrowserAdded(
- const Browser* browser) {}
+ Browser* browser) {}
void ProfileManager::BrowserListObserver::OnBrowserRemoved(
- const Browser* browser) {}
+ Browser* browser) {}
void ProfileManager::BrowserListObserver::OnBrowserSetLastActive(
- const Browser* browser) {
+ Browser* browser) {
Profile* last_active = browser->profile();
PrefService* local_state = g_browser_process->local_state();
DCHECK(local_state);

Powered by Google App Engine
This is Rietveld 408576698