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

Side by Side Diff: content/browser/download/save_types.cc

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 #include "chrome/browser/download/save_types.h" 5 #include "content/browser/download/save_types.h"
6 6
7 7
8 SaveFileCreateInfo::SaveFileCreateInfo(const FilePath& path, 8 SaveFileCreateInfo::SaveFileCreateInfo(const FilePath& path,
9 const GURL& url, 9 const GURL& url,
10 SaveFileSource save_source, 10 SaveFileSource save_source,
11 int32 save_id) 11 int32 save_id)
12 : path(path), 12 : path(path),
13 url(url), 13 url(url),
14 save_id(save_id), 14 save_id(save_id),
15 render_process_id(-1), 15 render_process_id(-1),
16 render_view_id(-1), 16 render_view_id(-1),
17 request_id(-1), 17 request_id(-1),
18 total_bytes(0), 18 total_bytes(0),
19 save_source(save_source) { 19 save_source(save_source) {
20 } 20 }
21 21
22 SaveFileCreateInfo::SaveFileCreateInfo() 22 SaveFileCreateInfo::SaveFileCreateInfo()
23 : save_id(-1), 23 : save_id(-1),
24 render_process_id(-1), 24 render_process_id(-1),
25 render_view_id(-1), 25 render_view_id(-1),
26 request_id(-1), 26 request_id(-1),
27 total_bytes(0), 27 total_bytes(0),
28 save_source(SAVE_FILE_FROM_UNKNOWN) { 28 save_source(SAVE_FILE_FROM_UNKNOWN) {
29 } 29 }
30 30
31 SaveFileCreateInfo::~SaveFileCreateInfo() {} 31 SaveFileCreateInfo::~SaveFileCreateInfo() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698