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

Unified Diff: components/translate/core/browser/translate_url_fetcher.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: components/translate/core/browser/translate_url_fetcher.cc
diff --git a/components/translate/core/browser/translate_url_fetcher.cc b/components/translate/core/browser/translate_url_fetcher.cc
index 85988a9125e93559975b5fcf8d7bfbbb771e6daf..09704fd9171498199afdb450ef520850693bdd0b 100644
--- a/components/translate/core/browser/translate_url_fetcher.cc
+++ b/components/translate/core/browser/translate_url_fetcher.cc
@@ -10,6 +10,8 @@
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_status.h"
+namespace translate {
+
namespace {
// Retry parameter for fetching.
@@ -80,3 +82,5 @@ void TranslateURLFetcher::OnURLFetchComplete(const net::URLFetcher* source) {
scoped_ptr<const net::URLFetcher> delete_ptr(fetcher_.release());
callback_.Run(id_, state_ == COMPLETED, data);
}
+
+} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698