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

Side by Side Diff: chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_
6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ 6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_
7 7
8 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h" 8 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 16 matching lines...) Expand all
27 27
28 namespace chromeos { 28 namespace chromeos {
29 29
30 class MockKioskModeSettings : public KioskModeSettings { 30 class MockKioskModeSettings : public KioskModeSettings {
31 public: 31 public:
32 // We should be able to instantiate mock instances, unlike the main kiosk 32 // We should be able to instantiate mock instances, unlike the main kiosk
33 // mode settings class, which should always have only one global instance. 33 // mode settings class, which should always have only one global instance.
34 MockKioskModeSettings(); 34 MockKioskModeSettings();
35 virtual ~MockKioskModeSettings(); 35 virtual ~MockKioskModeSettings();
36 36
37 virtual bool IsKioskModeEnabled() OVERRIDE; 37 virtual bool IsKioskModeEnabled() override;
38 38
39 // Initialize the mock class. 39 // Initialize the mock class.
40 virtual void Initialize(const base::Closure& notify_initialized) OVERRIDE; 40 virtual void Initialize(const base::Closure& notify_initialized) override;
41 virtual bool is_initialized() const OVERRIDE; 41 virtual bool is_initialized() const override;
42 42
43 // The time to logout the user in on idle. 43 // The time to logout the user in on idle.
44 virtual base::TimeDelta GetIdleLogoutTimeout() const OVERRIDE; 44 virtual base::TimeDelta GetIdleLogoutTimeout() const override;
45 45
46 // The time to show the countdown timer for. 46 // The time to show the countdown timer for.
47 virtual base::TimeDelta GetIdleLogoutWarningDuration() const OVERRIDE; 47 virtual base::TimeDelta GetIdleLogoutWarningDuration() const override;
48 48
49 private: 49 private:
50 friend struct base::DefaultLazyInstanceTraits<MockKioskModeSettings>; 50 friend struct base::DefaultLazyInstanceTraits<MockKioskModeSettings>;
51 51
52 bool is_initialized_; 52 bool is_initialized_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(MockKioskModeSettings); 54 DISALLOW_COPY_AND_ASSIGN(MockKioskModeSettings);
55 }; 55 };
56 56
57 } // namespace chromeos 57 } // namespace chromeos
58 58
59 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_ 59 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_MOCK_KIOSK_MODE_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc ('k') | chrome/browser/chromeos/locale_change_guard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698