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

Side by Side Diff: chrome/browser/chromeos/power/idle_action_warning_observer.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_POWER_IDLE_ACTION_WARNING_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_IDLE_ACTION_WARNING_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_POWER_IDLE_ACTION_WARNING_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_POWER_IDLE_ACTION_WARNING_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chromeos/dbus/power_manager_client.h" 10 #include "chromeos/dbus/power_manager_client.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 class IdleActionWarningDialogView; 14 class IdleActionWarningDialogView;
15 15
16 // Listens for notifications that the idle action is imminent and shows a 16 // Listens for notifications that the idle action is imminent and shows a
17 // warning dialog to the user. 17 // warning dialog to the user.
18 class IdleActionWarningObserver : public PowerManagerClient::Observer { 18 class IdleActionWarningObserver : public PowerManagerClient::Observer {
19 public: 19 public:
20 IdleActionWarningObserver(); 20 IdleActionWarningObserver();
21 virtual ~IdleActionWarningObserver(); 21 virtual ~IdleActionWarningObserver();
22 22
23 // PowerManagerClient::Observer: 23 // PowerManagerClient::Observer:
24 virtual void IdleActionImminent( 24 virtual void IdleActionImminent(
25 const base::TimeDelta& time_until_idle_action) OVERRIDE; 25 const base::TimeDelta& time_until_idle_action) override;
26 virtual void IdleActionDeferred() OVERRIDE; 26 virtual void IdleActionDeferred() override;
27 27
28 private: 28 private:
29 IdleActionWarningDialogView* warning_dialog_; // Not owned. 29 IdleActionWarningDialogView* warning_dialog_; // Not owned.
30 30
31 DISALLOW_COPY_AND_ASSIGN(IdleActionWarningObserver); 31 DISALLOW_COPY_AND_ASSIGN(IdleActionWarningObserver);
32 }; 32 };
33 33
34 } // namespace chromeos 34 } // namespace chromeos
35 35
36 #endif // CHROME_BROWSER_CHROMEOS_POWER_IDLE_ACTION_WARNING_OBSERVER_H_ 36 #endif // CHROME_BROWSER_CHROMEOS_POWER_IDLE_ACTION_WARNING_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc ('k') | chrome/browser/chromeos/power/light_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698