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

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

Issue 7484061: Use the suggested name from an anchor's 'download' attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2011 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_DOWNLOAD_TYPES_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 23 matching lines...) Expand all
34 34
35 // Holds the information about how to save a download file. 35 // Holds the information about how to save a download file.
36 struct DownloadSaveInfo { 36 struct DownloadSaveInfo {
37 DownloadSaveInfo(); 37 DownloadSaveInfo();
38 DownloadSaveInfo(const DownloadSaveInfo& info); 38 DownloadSaveInfo(const DownloadSaveInfo& info);
39 ~DownloadSaveInfo(); 39 ~DownloadSaveInfo();
40 DownloadSaveInfo& operator=(const DownloadSaveInfo& info); 40 DownloadSaveInfo& operator=(const DownloadSaveInfo& info);
41 41
42 FilePath file_path; 42 FilePath file_path;
43 linked_ptr<net::FileStream> file_stream; 43 linked_ptr<net::FileStream> file_stream;
44 string16 suggested_name;
44 }; 45 };
45 46
46 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_ 47 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698