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

Unified Diff: chrome/browser/language_order_table_model.h

Issue 174043: Gtk languages options page part 1: accept-languages configuration. (Closed)
Patch Set: rebase Created 11 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
Index: chrome/browser/language_order_table_model.h
diff --git a/chrome/browser/language_order_table_model.h b/chrome/browser/language_order_table_model.h
index 327fe67c37a1850875111c33a4a598d2f15b0961..911d55ec4db5bfd7b82af03d91384257f2175424 100644
--- a/chrome/browser/language_order_table_model.h
+++ b/chrome/browser/language_order_table_model.h
@@ -18,8 +18,8 @@ class LanguageOrderTableModel : public TableModel {
// Set Language List.
void SetAcceptLanguagesString(const std::string& language_list);
- // Add at the end.
- void Add(const std::string& language);
+ // Add at the end. Return true if the language was added.
+ bool Add(const std::string& language);
// Removes the entry at the specified index.
void Remove(int index);
« no previous file with comments | « chrome/browser/gtk/options/languages_page_gtk_unittest.cc ('k') | chrome/browser/language_order_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698