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

Unified Diff: chrome/browser/language_combobox_model.h

Issue 3159031: Remove wstrings from bookmarks, part 12. (Closed)
Patch Set: rebased ToT Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/options/languages_page_gtk.cc ('k') | chrome/browser/language_combobox_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/language_combobox_model.h
diff --git a/chrome/browser/language_combobox_model.h b/chrome/browser/language_combobox_model.h
index b30aa29aec2e13903b4d07c728d27fc0956cc5fb..469fa2b176895fecfe223c5374e65a9af4ea5441 100644
--- a/chrome/browser/language_combobox_model.h
+++ b/chrome/browser/language_combobox_model.h
@@ -12,6 +12,7 @@
#include "app/combobox_model.h"
#include "base/basictypes.h"
+#include "base/string16.h"
class Profile;
@@ -77,9 +78,8 @@ class LanguageComboboxModel : public LanguageList, public ComboboxModel {
virtual ~LanguageComboboxModel() {}
- virtual int GetItemCount() { return get_languages_count(); }
-
- virtual std::wstring GetItemAt(int index) { return GetLanguageNameAt(index); }
+ virtual int GetItemCount();
+ virtual string16 GetItemAt(int index);
// Returns the index of the language currently specified in the user's
// preference file. Note that it's possible for language A to be picked
« no previous file with comments | « chrome/browser/gtk/options/languages_page_gtk.cc ('k') | chrome/browser/language_combobox_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698