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

Unified Diff: chrome/browser/ui/webui/downloads_dom_handler.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
« no previous file with comments | « chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/downloads_dom_handler.cc
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.cc b/chrome/browser/ui/webui/downloads_dom_handler.cc
index bfea47511506cc3bd3e6f21bce31c2c09772ac5c..2290e17764b8ac0cbaccce892480be5c77a4f8e3 100644
--- a/chrome/browser/ui/webui/downloads_dom_handler.cc
+++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
@@ -135,7 +135,8 @@ base::DictionaryValue* CreateDownloadItemValue(
file_value->SetString("file_url",
net::FilePathToFileURL(download_path).spec());
- DownloadedByExtension* by_ext = DownloadedByExtension::Get(download_item);
+ extensions::DownloadedByExtension* by_ext =
+ extensions::DownloadedByExtension::Get(download_item);
if (by_ext) {
file_value->SetString("by_ext_id", by_ext->id());
file_value->SetString("by_ext_name", by_ext->name());
« no previous file with comments | « chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698