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

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

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.h
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.h b/chrome/browser/extensions/api/downloads/downloads_api.h
index 08c068cef79e73cb62d50c10b37d28faac1a820c..cf78bb60ff07f9bd66d62ca24544bfaef7b89e12 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api.h
+++ b/chrome/browser/extensions/api/downloads/downloads_api.h
@@ -66,6 +66,7 @@ extern const char kUserGesture[];
} // namespace download_extension_errors
+namespace extensions {
class DownloadedByExtension : public base::SupportsUserData::Data {
public:
@@ -402,4 +403,6 @@ class ExtensionDownloadsEventRouter
DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter);
};
+} // namespace extensions
+
#endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_
« no previous file with comments | « chrome/browser/download/download_service.cc ('k') | chrome/browser/extensions/api/downloads/downloads_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698