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

Side by Side Diff: ash/system/locale/locale_notification_controller.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ash/system/ime/tray_ime.cc ('k') | ash/system/locale/locale_notification_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_ 5 #ifndef ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_
6 #define ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_ 6 #define ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/system/locale/locale_observer.h" 10 #include "ash/system/locale/locale_observer.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 13
14 namespace ash { 14 namespace ash {
15 15
16 // Observes the locale change and creates rich notification for the change. 16 // Observes the locale change and creates rich notification for the change.
17 class LocaleNotificationController : public LocaleObserver { 17 class LocaleNotificationController : public LocaleObserver {
18 public: 18 public:
19 LocaleNotificationController(); 19 LocaleNotificationController();
20 virtual ~LocaleNotificationController(); 20 virtual ~LocaleNotificationController();
21 21
22 private: 22 private:
23 // Overridden from LocaleObserver. 23 // Overridden from LocaleObserver.
24 virtual void OnLocaleChanged(LocaleObserver::Delegate* delegate, 24 virtual void OnLocaleChanged(LocaleObserver::Delegate* delegate,
25 const std::string& cur_locale, 25 const std::string& cur_locale,
26 const std::string& from_locale, 26 const std::string& from_locale,
27 const std::string& to_locale) OVERRIDE; 27 const std::string& to_locale) override;
28 28
29 LocaleObserver::Delegate* delegate_; 29 LocaleObserver::Delegate* delegate_;
30 std::string cur_locale_; 30 std::string cur_locale_;
31 std::string from_locale_; 31 std::string from_locale_;
32 std::string to_locale_; 32 std::string to_locale_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(LocaleNotificationController); 34 DISALLOW_COPY_AND_ASSIGN(LocaleNotificationController);
35 }; 35 };
36 36
37 } // namespace ash 37 } // namespace ash
38 38
39 #endif // ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_ 39 #endif // ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/system/ime/tray_ime.cc ('k') | ash/system/locale/locale_notification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698