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

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

Issue 7618048: Move the core download files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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_STATE_INFO_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATE_INFO_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATE_INFO_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATE_INFO_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 10
11 // Contains information relating to the process of determining what to do with 11 // Contains information relating to the process of determining what to do with
12 // the download. 12 // the download.
13 struct DownloadStateInfo { 13 struct DownloadStateInfo {
14 DownloadStateInfo(); 14 DownloadStateInfo();
15 DownloadStateInfo(bool has_user_gesture, 15 DownloadStateInfo(bool has_user_gesture,
16 bool prompt_user_for_save_location); 16 bool prompt_user_for_save_location);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // If safebrowsing believes this URL leads to malware. 52 // If safebrowsing believes this URL leads to malware.
53 bool is_dangerous_url; 53 bool is_dangerous_url;
54 54
55 // True if this download is for extension install. 55 // True if this download is for extension install.
56 bool is_extension_install; 56 bool is_extension_install;
57 57
58 // True if this download's file name was specified initially. 58 // True if this download's file name was specified initially.
59 FilePath force_file_name; 59 FilePath force_file_name;
60 }; 60 };
61 61
62 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATE_INFO_H_ 62 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698