| OLD | NEW |
| 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_LOCALE_CHANGE_GUARD_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOCALE_CHANGE_GUARD_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOCALE_CHANGE_GUARD_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOCALE_CHANGE_GUARD_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" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 std::string to_locale_; | 61 std::string to_locale_; |
| 62 Profile* profile_; | 62 Profile* profile_; |
| 63 bool reverted_; | 63 bool reverted_; |
| 64 bool session_started_; | 64 bool session_started_; |
| 65 bool main_frame_loaded_; | 65 bool main_frame_loaded_; |
| 66 content::NotificationRegistrar registrar_; | 66 content::NotificationRegistrar registrar_; |
| 67 | 67 |
| 68 // We want to show locale change notification in previous language however | 68 // We want to show locale change notification in previous language however |
| 69 // we cannot directly load strings for non-current locale. So we cache | 69 // we cannot directly load strings for non-current locale. So we cache |
| 70 // messages before locale change. | 70 // messages before locale change. |
| 71 string16 title_text_; | 71 base::string16 title_text_; |
| 72 string16 message_text_; | 72 base::string16 message_text_; |
| 73 string16 revert_link_text_; | 73 base::string16 revert_link_text_; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace chromeos | 76 } // namespace chromeos |
| 77 | 77 |
| 78 #endif // CHROME_BROWSER_CHROMEOS_LOCALE_CHANGE_GUARD_H_ | 78 #endif // CHROME_BROWSER_CHROMEOS_LOCALE_CHANGE_GUARD_H_ |
| OLD | NEW |