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

Unified Diff: components/translate/core/browser/translate_prefs.h

Issue 1525203003: [Translate] Factor out access to Accept-Languages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@translate-manager-unit
Patch Set: Fix CrOS build Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/translate/core/browser/translate_prefs.h
diff --git a/components/translate/core/browser/translate_prefs.h b/components/translate/core/browser/translate_prefs.h
index 0cbed022b766bbf03c19ec458368fddfc1377f7a..5e9be626368eb341b36784a51422ceffc70ad765 100644
--- a/components/translate/core/browser/translate_prefs.h
+++ b/components/translate/core/browser/translate_prefs.h
@@ -132,7 +132,7 @@ class TranslatePrefs {
void ResetDenialState();
// Gets the language list of the language settings.
- void GetLanguageList(std::vector<std::string>* languages);
+ void GetLanguageList(std::vector<std::string>* languages) const;
// Updates the language list of the language settings.
void UpdateLanguageList(const std::vector<std::string>& languages);
« no previous file with comments | « components/translate/core/browser/translate_manager_unittest.cc ('k') | components/translate/core/browser/translate_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698