| Index: components/translate/core/browser/translate_url_util.cc
|
| diff --git a/components/translate/core/browser/translate_url_util.cc b/components/translate/core/browser/translate_url_util.cc
|
| index 497cdae8292c7b6f9afca276298aa1d8603ad642..fc4105ca9fb401b1bfdbfd6efb86980cf5928a4d 100644
|
| --- a/components/translate/core/browser/translate_url_util.cc
|
| +++ b/components/translate/core/browser/translate_url_util.cc
|
| @@ -8,6 +8,8 @@
|
| #include "google_apis/google_api_keys.h"
|
| #include "net/base/url_util.h"
|
|
|
| +namespace translate {
|
| +
|
| namespace {
|
|
|
| // Used in all translate URLs to specify API Key.
|
| @@ -19,8 +21,6 @@ const char kHostLocaleQueryName[] = "hl";
|
|
|
| } // namespace
|
|
|
| -namespace TranslateURLUtil {
|
| -
|
| GURL AddApiKeyToUrl(const GURL& url) {
|
| return net::AppendQueryParameter(url, kApiKeyName, google_apis::GetAPIKey());
|
| }
|
| @@ -33,4 +33,4 @@ GURL AddHostLocaleToUrl(const GURL& url) {
|
| TranslateDownloadManager::GetInstance()->application_locale()));
|
| }
|
|
|
| -} // namespace TranslateURLUtil
|
| +} // namespace translate
|
|
|