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

Unified Diff: chrome/renderer/render_thread.cc

Issue 113473: Automatically adapt to faster/slower uploads of renderer histograms... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/renderer_histogram_snapshots.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 17103)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -95,8 +95,8 @@
return dns_master_->Resolve(name, length);
}
-void RenderThread::SendHistograms() {
- return histogram_snapshots_->SendHistograms();
+void RenderThread::SendHistograms(int sequence_number) {
+ return histogram_snapshots_->SendHistograms(sequence_number);
}
static WebAppCacheContext* CreateAppCacheContextForRenderer() {
@@ -212,7 +212,7 @@
IPC_MESSAGE_HANDLER(ViewMsg_New, OnCreateNewView)
IPC_MESSAGE_HANDLER(ViewMsg_SetCacheCapacities, OnSetCacheCapacities)
IPC_MESSAGE_HANDLER(ViewMsg_GetRendererHistograms,
- OnGetRendererHistograms)
+ OnGetRendererHistograms)
IPC_MESSAGE_HANDLER(ViewMsg_GetCacheResourceStats,
OnGetCacheResourceStats)
IPC_MESSAGE_HANDLER(ViewMsg_UserScripts_UpdatedScripts,
@@ -274,8 +274,8 @@
Send(new ViewHostMsg_ResourceTypeStats(stats));
}
-void RenderThread::OnGetRendererHistograms() {
- SendHistograms();
+void RenderThread::OnGetRendererHistograms(int sequence_number) {
+ SendHistograms(sequence_number);
}
void RenderThread::InformHostOfCacheStats() {
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/renderer_histogram_snapshots.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698