| Index: chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h
|
| diff --git a/chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h b/chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h
|
| deleted file mode 100644
|
| index 7481c739a5a28db7c208ab8d3922403941d5d356..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h
|
| +++ /dev/null
|
| @@ -1,59 +0,0 @@
|
| -// Copyright (c) 2012 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_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_
|
| -#define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_
|
| -
|
| -#include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h"
|
| -
|
| -#include <string>
|
| -
|
| -#include "base/basictypes.h"
|
| -#include "base/callback_forward.h"
|
| -#include "base/compiler_specific.h"
|
| -#include "base/time/time.h"
|
| -
|
| -namespace base {
|
| -template <typename T> struct DefaultLazyInstanceTraits;
|
| -}
|
| -
|
| -namespace {
|
| -
|
| -const int kMockIdleLogoutTimeoutMs = 50000;
|
| -const int kMockIdleLogoutWarningDurationMs = 1000;
|
| -
|
| -} // namespace
|
| -
|
| -namespace chromeos {
|
| -
|
| -class MockKioskModeSettings : public KioskModeSettings {
|
| - public:
|
| - // We should be able to instantiate mock instances, unlike the main kiosk
|
| - // mode settings class, which should always have only one global instance.
|
| - MockKioskModeSettings();
|
| - virtual ~MockKioskModeSettings();
|
| -
|
| - virtual bool IsKioskModeEnabled() override;
|
| -
|
| - // Initialize the mock class.
|
| - virtual void Initialize(const base::Closure& notify_initialized) override;
|
| - virtual bool is_initialized() const override;
|
| -
|
| - // The time to logout the user in on idle.
|
| - virtual base::TimeDelta GetIdleLogoutTimeout() const override;
|
| -
|
| - // The time to show the countdown timer for.
|
| - virtual base::TimeDelta GetIdleLogoutWarningDuration() const override;
|
| -
|
| - private:
|
| - friend struct base::DefaultLazyInstanceTraits<MockKioskModeSettings>;
|
| -
|
| - bool is_initialized_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(MockKioskModeSettings);
|
| -};
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_
|
|
|