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

Unified Diff: content/browser/download/base_file.h

Issue 10799005: Replace the DownloadFileManager with direct ownership (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to LKGR. Created 8 years, 5 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: content/browser/download/base_file.h
diff --git a/content/browser/download/base_file.h b/content/browser/download/base_file.h
index 7ada03c7c4c9a0e7ec016c775aeb48531f713bbf..c488c34e410b50e88b334d7921f605f9584399d1 100644
--- a/content/browser/download/base_file.h
+++ b/content/browser/download/base_file.h
@@ -29,6 +29,8 @@ class FileStream;
// for DownloadFile and SaveFile, which keep more state information.
class CONTENT_EXPORT BaseFile {
public:
+ // May be constructed on any thread. All other routines (including
+ // destruction) must occur on the FILE thread.
BaseFile(const FilePath& full_path,
const GURL& source_url,
const GURL& referrer_url,

Powered by Google App Engine
This is Rietveld 408576698