Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3582)

Unified Diff: chrome/browser/chromeos/login/screens/eula_model.h

Issue 2556253002: cros: Fold EulaModel into EulaView. (Closed)
Patch Set: Address comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/login/screens/eula_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/screens/eula_model.h
diff --git a/chrome/browser/chromeos/login/screens/eula_model.h b/chrome/browser/chromeos/login/screens/eula_model.h
deleted file mode 100644
index fb1a45a343ea1d510f628cd866e5d0b660dc459e..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/screens/eula_model.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 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_EULA_MODEL_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_MODEL_H_
-
-#include "chrome/browser/chromeos/login/screens/base_screen.h"
-#include "url/gurl.h"
-
-namespace chromeos {
-
-class BaseScreenDelegate;
-class EulaView;
-
-// Allows us to get info from eula screen that we need.
-class EulaModel : public BaseScreen {
- public:
- static const char kUserActionAcceptButtonClicked[];
- static const char kUserActionBackButtonClicked[];
- static const char kContextKeyUsageStatsEnabled[];
-
- explicit EulaModel(BaseScreenDelegate* base_screen_delegate);
- ~EulaModel() override;
-
- // Returns URL of the OEM EULA page that should be displayed using current
- // locale and manifest. Returns empty URL otherwise.
- virtual GURL GetOemEulaUrl() const = 0;
-
- // Initiate TPM password fetch. Will call actor's OnPasswordFetched() when
- // done.
- virtual void InitiatePasswordFetch() = 0;
-
- // Returns true if usage statistics reporting is enabled.
- virtual bool IsUsageStatsEnabled() const = 0;
-
- // This method is called, when view is being destroyed. Note, if model
- // is destroyed earlier then it has to call SetModel(NULL).
- virtual void OnViewDestroyed(EulaView* view) = 0;
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_MODEL_H_
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/login/screens/eula_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698