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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 // Download utilities. 5 // Download utilities.
6 6
7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
9 #pragma once 9 #pragma once
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/file_path.h" 14 #include "base/file_path.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
17 17
18 #if defined(TOOLKIT_VIEWS) 18 #if defined(TOOLKIT_VIEWS)
19 #include "views/view.h" 19 #include "views/view.h"
20 #endif 20 #endif
21 21
22 namespace gfx { 22 namespace gfx {
23 class Canvas; 23 class Canvas;
24 } 24 }
25 25
26 class BaseDownloadItemModel; 26 class BaseDownloadItemModel;
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 // Returns true if this download should show the "dangerous file" warning. 210 // Returns true if this download should show the "dangerous file" warning.
211 // Various factors are considered, such as the type of the file, whether a 211 // Various factors are considered, such as the type of the file, whether a
212 // user action initiated the download, and whether the user has explictly 212 // user action initiated the download, and whether the user has explictly
213 // marked the file type as "auto open". 213 // marked the file type as "auto open".
214 bool IsDangerous(DownloadCreateInfo* info, Profile* profile, bool auto_open); 214 bool IsDangerous(DownloadCreateInfo* info, Profile* profile, bool auto_open);
215 215
216 } // namespace download_util 216 } // namespace download_util
217 217
218 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 218 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_file_manager.h ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698