blob: 243db4b2f933c2b102de55d9ed5112790b4c8e89 [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_APP_DOWNLOADING_SCREEN_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_APP_DOWNLOADING_SCREEN_H_
#include <string>
#include "base/callback.h"
#include "base/macros.h"
#include "chrome/browser/chromeos/login/screens/app_downloading_screen_view.h"
#include "chrome/browser/chromeos/login/screens/base_screen.h"
namespace chromeos {
// This is App Downloading screen that tells the user the selected Android apps
// are being downloaded.
class AppDownloadingScreen : public BaseScreen {
public:
AppDownloadingScreen(AppDownloadingScreenView* view,
const base::RepeatingClosure& exit_callback);
~AppDownloadingScreen() override;
// BaseScreen:
void Show() override;
void Hide() override;
void OnUserAction(const std::string& action_id) override;
private:
AppDownloadingScreenView* const view_;
base::RepeatingClosure exit_callback_;
DISALLOW_COPY_AND_ASSIGN(AppDownloadingScreen);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_APP_DOWNLOADING_SCREEN_H_