OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IOS_CHROME_APP_APPLICATION_DELEGATE_METRICS_MEDIATOR_TESTING_H_ | 5 #ifndef IOS_CHROME_APP_APPLICATION_DELEGATE_METRICS_MEDIATOR_TESTING_H_ |
6 #define IOS_CHROME_APP_APPLICATION_DELEGATE_METRICS_MEDIATOR_TESTING_H_ | 6 #define IOS_CHROME_APP_APPLICATION_DELEGATE_METRICS_MEDIATOR_TESTING_H_ |
7 | 7 |
8 #include "net/base/network_change_notifier.h" | 8 #include "net/base/network_change_notifier.h" |
9 | 9 |
10 @interface MetricsMediator (TestingAddition) | 10 @interface MetricsMediator (TestingAddition) |
11 - (void)processCrashReportsPresentAtStartup; | 11 - (void)processCrashReportsPresentAtStartup; |
12 - (void)connectionTypeChanged:(net::NetworkChangeNotifier::ConnectionType)type; | 12 - (void)connectionTypeChanged:(net::NetworkChangeNotifier::ConnectionType)type; |
13 - (void)setBreakpadUploadingEnabled:(BOOL)enableUploading; | 13 - (void)setBreakpadUploadingEnabled:(BOOL)enableUploading; |
14 - (void)setReporting:(BOOL)enableReporting; | 14 - (void)setReporting:(BOOL)enableReporting; |
15 - (BOOL)isMetricsReportingEnabledWifiOnly; | 15 - (BOOL)isMetricsReportingEnabledWifiOnly; |
| 16 + (void)recordNumTabAtStartup:(int)numTabs; |
| 17 + (void)recordNumTabAtResume:(int)numTabs; |
16 @end | 18 @end |
17 | 19 |
18 #endif // IOS_CHROME_APP_APPLICATION_DELEGATE_METRICS_MEDIATOR_TESTING_H_ | 20 #endif // IOS_CHROME_APP_APPLICATION_DELEGATE_METRICS_MEDIATOR_TESTING_H_ |
OLD | NEW |