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

Side by Side Diff: chrome/browser/chromeos/locale_change_guard.h

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
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_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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc ('k') | chrome/browser/chromeos/locale_change_guard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698