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

Unified Diff: chrome/browser/extensions/api/downloads/downloads_api.cc

Issue 257983002: Move downloads API to extensions namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error for unittest Created 6 years, 8 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/extensions/api/downloads/downloads_api.cc
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/browser/extensions/api/downloads/downloads_api.cc
index aa335fb528a1794cf69e4d02bf21c1e29434a451..c94aa5948a49079841c1873ffb939c184768b6df 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api.cc
+++ b/chrome/browser/extensions/api/downloads/downloads_api.cc
@@ -113,6 +113,8 @@ const char kUserGesture[] = "User gesture required";
namespace errors = download_extension_errors;
+namespace extensions {
+
namespace {
namespace downloads = extensions::api::downloads;
@@ -1900,3 +1902,5 @@ void ExtensionDownloadsEventRouter::OnExtensionUnloaded(
if (iter != shelf_disabling_extensions_.end())
shelf_disabling_extensions_.erase(iter);
}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698