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

Unified Diff: chrome/browser/browser_shutdown.cc

Issue 7467012: Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Modifying prefetch to account for multi-profile. Created 9 years, 3 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/browser_shutdown.cc
===================================================================
--- chrome/browser/browser_shutdown.cc (revision 100345)
+++ chrome/browser/browser_shutdown.cc (working copy)
@@ -38,7 +38,6 @@
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/renderer_host/render_widget_host.h"
-#include "net/predictor_api.h"
#include "ui/base/resource/resource_bundle.h"
#if defined(OS_WIN)
@@ -140,11 +139,7 @@
// time to get here. If you have something that *must* happen on end session,
// consider putting it in BrowserProcessImpl::EndSession.
PrefService* prefs = g_browser_process->local_state();
- ProfileManager* profile_manager = g_browser_process->profile_manager();
- PrefService* user_prefs = profile_manager->GetDefaultProfile()->GetPrefs();
- chrome_browser_net::SavePredictorStateForNextStartupAndTrim(user_prefs);
-
MetricsService* metrics = g_browser_process->metrics_service();
if (metrics)
metrics->RecordCompletedSessionEnd();

Powered by Google App Engine
This is Rietveld 408576698