blob: f3654329d4df9620e94c1083066542a7a1a3fad0 [file] [log] [blame]
// Copyright 2018 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.
#include <string>
#include "base/macros.h"
#include "chrome/browser/chromeos/login/screens/base_screen.h"
namespace chromeos {
class BaseScreenDelegate;
class MultiDeviceSetupScreenView;
class MultiDeviceSetupScreen : public BaseScreen {
MultiDeviceSetupScreen(BaseScreenDelegate* base_screen_delegate,
MultiDeviceSetupScreenView* view);
~MultiDeviceSetupScreen() override;
// BaseScreen:
void Show() override;
void Hide() override;
void OnUserAction(const std::string& action_id) override;
friend class MultiDeviceSetupScreenTest;
// This enum is tied directly to a UMA enum defined in
// //tools/metrics/histograms/enums.xml, and should always reflect it (do not
// change one without changing the other). Entries should be never modified
// or deleted. Only additions possible.
enum class MultiDeviceSetupOOBEUserChoice {
kAccepted = 0,
kDeclined = 1,
kMaxValue = kDeclined
static void RecordMultiDeviceSetupOOBEUserChoiceHistogram(
MultiDeviceSetupOOBEUserChoice value);
// Exits the screen.
void ExitScreen();
MultiDeviceSetupScreenView* view_;
} // namespace chromeos