blob: d54fb225e5dd1014fbdaf32b073921670ae52e07 [file] [log] [blame]
// 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.
namespace ios {
class ChromeBrowserStateManager;
namespace profile_metrics {
struct Counts;
} // namespace profile_metrics
// 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);