| OLD | NEW |
| 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_COMMON_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_ | 5 #ifndef ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_ |
| 6 #define ASH_COMMON_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/public/interfaces/locale.mojom.h" | 10 #include "ash/public/interfaces/locale.mojom.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "mojo/public/cpp/bindings/binding_set.h" | 12 #include "mojo/public/cpp/bindings/binding_set.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. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 std::string to_locale_; | 36 std::string to_locale_; |
| 37 | 37 |
| 38 // Bindings for the LocaleNotificationController interface. | 38 // Bindings for the LocaleNotificationController interface. |
| 39 mojo::BindingSet<mojom::LocaleNotificationController> bindings_; | 39 mojo::BindingSet<mojom::LocaleNotificationController> bindings_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(LocaleNotificationController); | 41 DISALLOW_COPY_AND_ASSIGN(LocaleNotificationController); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace ash | 44 } // namespace ash |
| 45 | 45 |
| 46 #endif // ASH_COMMON_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_ | 46 #endif // ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_ |
| OLD | NEW |