blob: fbcf79e9a9b60ed9f47611daa531f33569348b2d [file] [log] [blame]
// Copyright 2020 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_UI_ACTIVITY_SERVICES_ACTIVITY_SERVICE_HISTOGRAMS_H_
#define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_ACTIVITY_SERVICE_HISTOGRAMS_H_
#import "ios/chrome/browser/ui/activity_services/activity_scenario.h"
#import "ios/chrome/browser/ui/activity_services/activity_type_util.h"
// Records a histogram metric for the current scenario.
void RecordScenarioInitiated(ActivityScenario scenario);
// Records the given activity |type| for a |scenario|.
void RecordActivityForScenario(activity_type_util::ActivityType type,
ActivityScenario scenario);
// Records the given activity |type| for a |scenario|.
void RecordCancelledScenario(ActivityScenario scenario);
#endif // IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_ACTIVITY_SERVICE_HISTOGRAMS_H_