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

Unified Diff: chrome/browser/translate/translate_accept_languages_factory.cc

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/translate/translate_accept_languages_factory.cc
diff --git a/chrome/browser/translate/translate_accept_languages_factory.cc b/chrome/browser/translate/translate_accept_languages_factory.cc
index ff8cbcce68ede816b2b05b21cb924e804e77f6db..d74321c6ee70ab6a9d732550a74a1d46daeab4c7 100644
--- a/chrome/browser/translate/translate_accept_languages_factory.cc
+++ b/chrome/browser/translate/translate_accept_languages_factory.cc
@@ -22,10 +22,12 @@ class TranslateAcceptLanguagesService : public KeyedService {
virtual ~TranslateAcceptLanguagesService();
// Returns the associated TranslateAcceptLanguages.
- TranslateAcceptLanguages& accept_languages() { return accept_languages_; }
+ translate::TranslateAcceptLanguages& accept_languages() {
+ return accept_languages_;
+ }
private:
- TranslateAcceptLanguages accept_languages_;
+ translate::TranslateAcceptLanguages accept_languages_;
DISALLOW_COPY_AND_ASSIGN(TranslateAcceptLanguagesService);
};
@@ -44,7 +46,8 @@ TranslateAcceptLanguagesFactory::GetInstance() {
}
// static
-TranslateAcceptLanguages* TranslateAcceptLanguagesFactory::GetForBrowserContext(
+translate::TranslateAcceptLanguages*
+TranslateAcceptLanguagesFactory::GetForBrowserContext(
content::BrowserContext* context) {
TranslateAcceptLanguagesService* service =
static_cast<TranslateAcceptLanguagesService*>(

Powered by Google App Engine
This is Rietveld 408576698