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

Side by Side Diff: content/browser/download/save_item.h

Issue 7373004: Move the save file code from chrome to content. This is just a file move so the DEPS in content\b... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DOWNLOAD_SAVE_ITEM_H__ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_
6 #define CHROME_BROWSER_DOWNLOAD_SAVE_ITEM_H__ 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "chrome/browser/download/save_types.h" 11 #include "content/browser/download/save_types.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 13
14 class SavePackage; 14 class SavePackage;
15 15
16 // One SaveItem per save file. This is the model class that stores all the 16 // One SaveItem per save file. This is the model class that stores all the
17 // state for one save file. 17 // state for one save file.
18 class SaveItem { 18 class SaveItem {
19 public: 19 public:
20 enum SaveState { 20 enum SaveState {
21 WAIT_START, 21 WAIT_START,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 bool is_success_; 102 bool is_success_;
103 103
104 SaveFileCreateInfo::SaveFileSource save_source_; 104 SaveFileCreateInfo::SaveFileSource save_source_;
105 105
106 // Our owning object. 106 // Our owning object.
107 SavePackage* package_; 107 SavePackage* package_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(SaveItem); 109 DISALLOW_COPY_AND_ASSIGN(SaveItem);
110 }; 110 };
111 111
112 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_ITEM_H__ 112 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698