| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSER_BROWSER_STATE_METRICS_BROWSER_STATE_METRICS_H_ | 5 #ifndef IOS_CHROME_BROWSER_BROWSER_STATE_METRICS_BROWSER_STATE_METRICS_H_ |
| 6 #define IOS_CHROME_BROWSER_BROWSER_STATE_METRICS_BROWSER_STATE_METRICS_H_ | 6 #define IOS_CHROME_BROWSER_BROWSER_STATE_METRICS_BROWSER_STATE_METRICS_H_ |
| 7 | 7 |
| 8 namespace ios { | 8 namespace ios { |
| 9 class ChromeBrowserStateManager; | 9 class ChromeBrowserStateManager; |
| 10 } | 10 } |
| 11 | 11 |
| 12 namespace profile_metrics { | 12 namespace profile_metrics { |
| 13 struct Counts; | 13 struct Counts; |
| 14 } | 14 } |
| 15 | 15 |
| 16 // Counts and returns summary information about the browser states currently in | 16 // Counts and returns summary information about the browser states currently in |
| 17 // the |manager|. This information is returned in the output variable | 17 // the |manager|. This information is returned in the output variable |
| 18 // |counts|. Assumes that all field of |counts| are set to zero before the call. | 18 // |counts|. Assumes that all field of |counts| are set to zero before the call. |
| 19 bool CountBrowserStateInformation(ios::ChromeBrowserStateManager* manager, | 19 bool CountBrowserStateInformation(ios::ChromeBrowserStateManager* manager, |
| 20 profile_metrics::Counts* counts); | 20 profile_metrics::Counts* counts); |
| 21 | 21 |
| 22 void LogNumberOfBrowserStates(ios::ChromeBrowserStateManager* manager); | 22 void LogNumberOfBrowserStates(ios::ChromeBrowserStateManager* manager); |
| 23 | 23 |
| 24 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_METRICS_H_ | 24 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_METRICS_BROWSER_STATE_METRICS_H_ |
| OLD | NEW |