blob: dc3e048c9b4f0d4f0f5f19a1dd3dc282ba29e310 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_BROWSER_STATE_METRICS_BROWSER_STATE_METRICS_H_
#define IOS_CHROME_BROWSER_BROWSER_STATE_METRICS_BROWSER_STATE_METRICS_H_
namespace ios {
class ChromeBrowserStateManager;
}
namespace profile_metrics {
struct Counts;
}
// Counts and returns summary information about the browser states currently in
// the |manager|. This information is returned in the output variable
// |counts|. Assumes that all field of |counts| are set to zero before the call.
bool CountBrowserStateInformation(ios::ChromeBrowserStateManager* manager,
profile_metrics::Counts* counts);
void LogNumberOfBrowserStates(ios::ChromeBrowserStateManager* manager);
#endif // IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_METRICS_H_
|