Index: chrome/browser/metrics/metrics_service.h |
=================================================================== |
--- chrome/browser/metrics/metrics_service.h (revision 17103) |
+++ chrome/browser/metrics/metrics_service.h (working copy) |
@@ -25,6 +25,7 @@ |
class BookmarkModel; |
class BookmarkNode; |
+class HistogramSynchronizer; |
class PrefService; |
class Profile; |
class TemplateURLModel; |
@@ -187,9 +188,15 @@ |
// Start timer for next log transmission. |
void StartLogTransmissionTimer(); |
- // Do not call TryToStartTransmission() directly. |
+ |
+ // Internal function to collect process memory information. |
+ void LogTransmissionTimerDone(); |
+ |
+ // Do not call OnMemoryDetailCollectionDone() or |
+ // OnHistogramSynchronizationDone() directly. |
// Use StartLogTransmissionTimer() to schedule a call. |
- void TryToStartTransmission(); |
+ void OnMemoryDetailCollectionDone(); |
+ void OnHistogramSynchronizationDone(); |
// Takes whatever log should be uploaded next (according to the state_) |
// and makes it the pending log. If pending_log_ is not NULL, |
@@ -201,9 +208,6 @@ |
// TryToStartTransmission. |
bool TransmissionPermitted() const; |
- // Internal function to collect process memory information. |
- void CollectMemoryDetails(); |
- |
// Check to see if there is a log that needs to be, or is being, transmitted. |
bool pending_log() const { |
return pending_log_ || !pending_log_text_.empty(); |