// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_TRANSLATE_PARTIAL_TRANSLATE_BUBBLE_UI_ACTION_LOGGER_H_ #define CHROME_BROWSER_UI_TRANSLATE_PARTIAL_TRANSLATE_BUBBLE_UI_ACTION_LOGGER_H_ namespace translate { // Histogram for recording the UI events related to the Partial Translate // bubble. constexpr char kPartialTranslateBubbleUiEventHistogramName[] = …; enum class PartialTranslateBubbleUiEvent { … }; // Logs metrics for the user's PartialTranslateBubbleUiEvent |action|. void ReportPartialTranslateBubbleUiAction( translate::PartialTranslateBubbleUiEvent action); } // namespace translate #endif // CHROME_BROWSER_UI_TRANSLATE_PARTIAL_TRANSLATE_BUBBLE_UI_ACTION_LOGGER_H_