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

Side by Side Diff: components/translate/core/browser/translate_url_util.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_
7 7
8 #include "url/gurl.h" 8 #include "url/gurl.h"
9 9
10 namespace translate {
11
10 namespace TranslateURLUtil { 12 namespace TranslateURLUtil {
droger 2014/07/09 07:52:44 I think we can remove the TranslateURLUtil namespa
nshaik 2014/07/09 08:56:52 Done.
11 13
12 // Appends Translate API Key as a part of query to a passed |url|, and returns 14 // Appends Translate API Key as a part of query to a passed |url|, and returns
13 // GURL instance. 15 // GURL instance.
14 GURL AddApiKeyToUrl(const GURL& url); 16 GURL AddApiKeyToUrl(const GURL& url);
15 17
16 // Appends host locale parameter as a part of query to a passed |url|, and 18 // Appends host locale parameter as a part of query to a passed |url|, and
17 // returns GURL instance. 19 // returns GURL instance.
18 GURL AddHostLocaleToUrl(const GURL& url); 20 GURL AddHostLocaleToUrl(const GURL& url);
19 21
20 } // namespace TranslateURLUtil 22 } // namespace TranslateURLUtil
21 23
24 } // namespace translate
25
22 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_ 26 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698