Index: chrome/browser/download/base_file.h |
diff --git a/chrome/browser/download/base_file.h b/chrome/browser/download/base_file.h |
index 6c57165d5949c7fa149a39d01aef11830b46a696..c38b909862b7f3dc1b7d1f97b2b574a831a7bd63 100644 |
--- a/chrome/browser/download/base_file.h |
+++ b/chrome/browser/download/base_file.h |
@@ -27,6 +27,7 @@ class BaseFile { |
~BaseFile(); |
bool Initialize(); |
+ bool ReOpen(); |
Paweł Hajdan Jr.
2010/10/01 09:03:55
Please add comment.
|
// Write a new chunk of data to the file. Returns true on success (all bytes |
// written to the file). |
@@ -51,6 +52,9 @@ class BaseFile { |
bool in_progress() const { return file_stream_ != NULL; } |
int64 bytes_so_far() const { return bytes_so_far_; } |
+ // Determines if this DownloadItem matches the |url| and |path|. |
+ bool MatchesUrlAndPath(const GURL& url, const FilePath& path) const; |
Paweł Hajdan Jr.
2010/10/01 09:03:55
This is wrong, as said in http://codereview.chromi
|
+ |
protected: |
bool Open(); |
void Close(); |