blob: dcf09bfb387330e38f2d5ae97c29dbd3ec39a21f [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.
#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MARKETING_OPT_IN_SCREEN_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MARKETING_OPT_IN_SCREEN_H_
#include "base/macros.h"
#include "chrome/browser/chromeos/login/screens/base_screen.h"
namespace chromeos {
class BaseScreenDelegate;
class MarketingOptInScreenView;
// This is Sync settings screen that is displayed as a part of user first
// sign-in flow.
class MarketingOptInScreen : public BaseScreen {
public:
MarketingOptInScreen(BaseScreenDelegate* base_screen_delegate,
MarketingOptInScreenView* view);
~MarketingOptInScreen() override;
// BaseScreen:
void Show() override;
void Hide() override;
// On "All set" button pressed.
void OnAllSet(bool play_communications_opt_in,
bool tips_communications_opt_in);
private:
MarketingOptInScreenView* const view_;
DISALLOW_COPY_AND_ASSIGN(MarketingOptInScreen);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MARKETING_OPT_IN_SCREEN_H_