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

Unified Diff: content/public/browser/download_manager.h

Issue 9639001: Move download interrupt reasons to content\public (the enum that's used by chrome). The rest keep i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits Created 8 years, 9 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 | « content/public/browser/download_item.h ('k') | content/test/mock_download_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_manager.h
===================================================================
--- content/public/browser/download_manager.h (revision 125463)
+++ content/public/browser/download_manager.h (working copy)
@@ -36,8 +36,8 @@
#include "base/gtest_prod_util.h"
#include "base/message_loop_helpers.h"
#include "base/time.h"
-#include "content/browser/download/interrupt_reasons.h"
#include "content/public/browser/download_id.h"
+#include "content/public/browser/download_interrupt_reasons.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/browser_thread.h"
#include "net/base/net_log.h"
@@ -139,10 +139,11 @@
// |hash_state| is the current state of the hash of the data that has been
// downloaded.
// |reason| is a download interrupt reason code.
- virtual void OnDownloadInterrupted(int32 download_id,
- int64 size,
- const std::string& hash_state,
- InterruptReason reason) = 0;
+ virtual void OnDownloadInterrupted(
+ int32 download_id,
+ int64 size,
+ const std::string& hash_state,
+ content::DownloadInterruptReason reason) = 0;
// Called when the download is renamed to its final name.
// |uniquifier| is a number used to make unique names for the file. It is
« no previous file with comments | « content/public/browser/download_item.h ('k') | content/test/mock_download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698