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

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

Issue 351029: Support dragging a virtual file out of the browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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) 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 // Download creation struct used for querying the history service. 5 // Download creation struct used for querying the history service.
6 6
7 #ifndef CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ 7 #ifndef CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_
8 #define CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ 8 #define CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool save_as; 80 bool save_as;
81 // Whether this download is potentially dangerous (ex: exe, dll, ...). 81 // Whether this download is potentially dangerous (ex: exe, dll, ...).
82 bool is_dangerous; 82 bool is_dangerous;
83 // The original name for a dangerous download. 83 // The original name for a dangerous download.
84 FilePath original_name; 84 FilePath original_name;
85 // Whether this download is for extension install or not. 85 // Whether this download is for extension install or not.
86 bool is_extension_install; 86 bool is_extension_install;
87 // The charset of the referring page where the download request comes from. 87 // The charset of the referring page where the download request comes from.
88 // It's used to construct a suggested filename. 88 // It's used to construct a suggested filename.
89 std::string referrer_charset; 89 std::string referrer_charset;
90 // The file path to save to.
91 FilePath save_file_path;
90 }; 92 };
91 93
92 #endif // CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ 94 #endif // CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/download_item_gtk.h ('k') | chrome/browser/renderer_host/download_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698