Remove unused chromeos::EulaScreenActor::IsTpmEnabled

BUG=126674
TEST=build success

Review URL: https://chromiumcodereview.appspot.com/10829032

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148723 0039d316-1c4b-4281-b951-d872f2087c98
parent e89298d4
...@@ -47,10 +47,6 @@ std::string EulaScreen::GetName() const { ...@@ -47,10 +47,6 @@ std::string EulaScreen::GetName() const {
return WizardController::kEulaScreenName; return WizardController::kEulaScreenName;
} }
bool EulaScreen::IsTpmEnabled() const {
return chromeos::CrosLibrary::Get()->GetCryptohomeLibrary()->TpmIsEnabled();
}
GURL EulaScreen::GetOemEulaUrl() const { GURL EulaScreen::GetOemEulaUrl() const {
const StartupCustomizationDocument* customization = const StartupCustomizationDocument* customization =
StartupCustomizationDocument::GetInstance(); StartupCustomizationDocument::GetInstance();
......
...@@ -31,7 +31,6 @@ class EulaScreen : public WizardScreen, ...@@ -31,7 +31,6 @@ class EulaScreen : public WizardScreen,
virtual std::string GetName() const OVERRIDE; virtual std::string GetName() const OVERRIDE;
// EulaScreenActor::Delegate implementation: // EulaScreenActor::Delegate implementation:
virtual bool IsTpmEnabled() const OVERRIDE;
virtual GURL GetOemEulaUrl() const OVERRIDE; virtual GURL GetOemEulaUrl() const OVERRIDE;
virtual void OnExit(bool accepted, bool is_usage_stats_checked) OVERRIDE; virtual void OnExit(bool accepted, bool is_usage_stats_checked) OVERRIDE;
virtual void InitiatePasswordFetch() OVERRIDE; virtual void InitiatePasswordFetch() OVERRIDE;
......
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -21,9 +21,6 @@ class EulaScreenActor { ...@@ -21,9 +21,6 @@ class EulaScreenActor {
public: public:
virtual ~Delegate() {} virtual ~Delegate() {}
// Returns true if TPM is enabled.
virtual bool IsTpmEnabled() const = 0;
// Returns URL of the OEM EULA page that should be displayed using current // Returns URL of the OEM EULA page that should be displayed using current
// locale and manifest. Returns empty URL otherwise. // locale and manifest. Returns empty URL otherwise.
virtual GURL GetOemEulaUrl() const = 0; virtual GURL GetOemEulaUrl() const = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment