blob: d37060841b4db7b9d29c076b10416e79304dda99 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// 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_