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

Unified Diff: chrome/browser/download/download_extension_api.h

Issue 9425014: Fix most of the downloads api in incognito profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 8 years, 7 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 | « no previous file | chrome/browser/download/download_extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_extension_api.h
diff --git a/chrome/browser/download/download_extension_api.h b/chrome/browser/download/download_extension_api.h
index 8eba05e62ec8120fef992d09b576f50038d7bc15..9cf95f4f7dfdef600c59268c3480b20cfbe4638a 100644
--- a/chrome/browser/download/download_extension_api.h
+++ b/chrome/browser/download/download_extension_api.h
@@ -93,6 +93,8 @@ class SyncDownloadsFunction : public SyncExtensionFunction,
// DownloadsFunctionInterface:
virtual DownloadsFunctionName function() const OVERRIDE;
+ content::DownloadItem* GetActiveItem(int download_id);
+
private:
DownloadsFunctionName function_;
@@ -111,6 +113,8 @@ class AsyncDownloadsFunction : public AsyncExtensionFunction,
// DownloadsFunctionInterface:
virtual DownloadsFunctionName function() const OVERRIDE;
+ content::DownloadItem* GetActiveItem(int download_id);
+
private:
DownloadsFunctionName function_;
« no previous file with comments | « no previous file | chrome/browser/download/download_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698