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

Side by Side Diff: chrome/browser/metrics/chrome_metrics_service_client.h

Issue 676783003: Record document mode histogram in UMA on every upload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2171
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 5 #ifndef CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 6 #define CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // MetricsService. Has the same lifetime as |metrics_service_|. 160 // MetricsService. Has the same lifetime as |metrics_service_|.
161 PluginMetricsProvider* plugin_metrics_provider_; 161 PluginMetricsProvider* plugin_metrics_provider_;
162 #endif 162 #endif
163 163
164 #if defined(OS_WIN) 164 #if defined(OS_WIN)
165 // The GoogleUpdateMetricsProviderWin instance that was registered with 165 // The GoogleUpdateMetricsProviderWin instance that was registered with
166 // MetricsService. Has the same lifetime as |metrics_service_|. 166 // MetricsService. Has the same lifetime as |metrics_service_|.
167 GoogleUpdateMetricsProviderWin* google_update_metrics_provider_; 167 GoogleUpdateMetricsProviderWin* google_update_metrics_provider_;
168 #endif 168 #endif
169 169
170 #if !defined(OS_CHROMEOS) && !defined(OS_IOS)
171 // The SigninStatusMetricsProvider instance that was registered with
172 // MetricsService. Has the same lifetime as |metrics_service_|.
173 SigninStatusMetricsProvider* signin_status_metrics_provider_;
174 #endif
175
176 // Callback that is called when initial metrics gathering is complete. 170 // Callback that is called when initial metrics gathering is complete.
177 base::Closure finished_gathering_initial_metrics_callback_; 171 base::Closure finished_gathering_initial_metrics_callback_;
178 172
179 // The MemoryGrowthTracker instance that tracks memory usage growth in 173 // The MemoryGrowthTracker instance that tracks memory usage growth in
180 // MemoryDetails. 174 // MemoryDetails.
181 MemoryGrowthTracker memory_growth_tracker_; 175 MemoryGrowthTracker memory_growth_tracker_;
182 176
183 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_; 177 base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_;
184 178
185 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient); 179 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient);
186 }; 180 };
187 181
188 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_ 182 #endif // CHROME_BROWSER_METRICS_CHROME_METRICS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/android_metrics_provider.cc ('k') | chrome/browser/metrics/chrome_metrics_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698