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

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

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing android build errors Created 6 years, 5 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: 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 cb6971df9630596a6b540085e7559a8084c7645d..c1b89c515c7aea82e8243fd06782b6b34181ece8 100644
--- a/components/translate/core/browser/translate_prefs.h
+++ b/components/translate/core/browser/translate_prefs.h
@@ -13,7 +13,6 @@
class PrefService;
class Profile;
-class TranslateAcceptLanguages;
namespace base {
class DictionaryValue;
@@ -24,6 +23,10 @@ namespace user_prefs {
class PrefRegistrySyncable;
}
+namespace translate {
+
+class TranslateAcceptLanguages;
+
// The wrapper of PrefService object for Translate.
//
// It is assumed that |prefs_| is alive while this instance is alive.
@@ -162,4 +165,6 @@ class TranslatePrefs {
DISALLOW_COPY_AND_ASSIGN(TranslatePrefs);
};
+} // namespace translate
+
#endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_PREFS_H_
« no previous file with comments | « components/translate/core/browser/translate_manager.cc ('k') | components/translate/core/browser/translate_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698