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

Side by Side Diff: chrome/browser/download/save_file.h

Issue 3040: Move the Save Page code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/browser/download/save_file.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SAVE_FILE_H__ 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_FILE_H__
6 #define CHROME_BROWSER_SAVE_FILE_H__ 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_FILE_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "chrome/browser/save_types.h" 12 #include "chrome/browser/download/save_types.h"
13 13
14 // SaveFile ---------------------------------------------------------------- 14 // SaveFile ----------------------------------------------------------------
15 15
16 // These objects live exclusively on the file thread and handle the writing 16 // These objects live exclusively on the file thread and handle the writing
17 // operations for one save item. These objects live only for the duration that 17 // operations for one save item. These objects live only for the duration that
18 // the saving job is 'in progress': once the saving job has been completed or 18 // the saving job is 'in progress': once the saving job has been completed or
19 // canceled, the SaveFile is destroyed. One SaveFile object represents one item 19 // canceled, the SaveFile is destroyed. One SaveFile object represents one item
20 // in a save session. 20 // in a save session.
21 class SaveFile { 21 class SaveFile {
22 public: 22 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Whether the saved file is still using its initial temporary path. 70 // Whether the saved file is still using its initial temporary path.
71 bool path_renamed_; 71 bool path_renamed_;
72 72
73 // Whether the saved file is still receiving data. 73 // Whether the saved file is still receiving data.
74 bool in_progress_; 74 bool in_progress_;
75 75
76 DISALLOW_EVIL_CONSTRUCTORS(SaveFile); 76 DISALLOW_EVIL_CONSTRUCTORS(SaveFile);
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_SAVE_FILE_H__ 79 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_FILE_H__
80 80
OLDNEW
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/browser/download/save_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698