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

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

Issue 10834313: Add histograms for network activity, and total/cumulative (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.h ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl_io_data.cc
===================================================================
--- chrome/browser/profiles/profile_impl_io_data.cc (revision 152373)
+++ chrome/browser/profiles/profile_impl_io_data.cc (working copy)
@@ -268,7 +268,7 @@
ChromeURLRequestContext* main_context = main_request_context();
ChromeURLRequestContext* extensions_context = extensions_request_context();
media_request_context_.reset(new ChromeURLRequestContext(
- ChromeURLRequestContext::CONTEXT_TYPE_MEDIA, cache_stats()));
+ ChromeURLRequestContext::CONTEXT_TYPE_MEDIA, load_time_stats()));
IOThread* const io_thread = profile_params->io_thread;
IOThread::Globals* const io_thread_globals = io_thread->globals();
@@ -477,7 +477,7 @@
ProfileImplIOData::InitializeAppRequestContext(
ChromeURLRequestContext* main_context,
const std::string& app_id) const {
- AppRequestContext* context = new AppRequestContext(cache_stats());
+ AppRequestContext* context = new AppRequestContext(load_time_stats());
// If this is for a guest process, we should not persist cookies and http
// cache.
@@ -564,9 +564,9 @@
return app_request_context;
}
-chrome_browser_net::CacheStats* ProfileImplIOData::GetCacheStats(
+chrome_browser_net::LoadTimeStats* ProfileImplIOData::GetLoadTimeStats(
IOThread::Globals* io_thread_globals) const {
- return io_thread_globals->cache_stats.get();
+ return io_thread_globals->load_time_stats.get();
}
void ProfileImplIOData::CreateFtpProtocolHandler(
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.h ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698