| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "app/gfx/native_widget_types.h" |
| 13 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 14 #include "base/gfx/native_widget_types.h" | |
| 15 #include "base/task.h" | 15 #include "base/task.h" |
| 16 | 16 |
| 17 #if defined(TOOLKIT_VIEWS) | 17 #if defined(TOOLKIT_VIEWS) |
| 18 #include "views/view.h" | 18 #include "views/view.h" |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 namespace gfx { | 21 namespace gfx { |
| 22 class Canvas; | 22 class Canvas; |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 #endif | 132 #endif |
| 133 | 133 |
| 134 // Executable file support ----------------------------------------------------- | 134 // Executable file support ----------------------------------------------------- |
| 135 | 135 |
| 136 // Copy all executable file extensions. | 136 // Copy all executable file extensions. |
| 137 void InitializeExeTypes(std::set<std::string>* exe_extensions); | 137 void InitializeExeTypes(std::set<std::string>* exe_extensions); |
| 138 | 138 |
| 139 } // namespace download_util | 139 } // namespace download_util |
| 140 | 140 |
| 141 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ | 141 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ |
| OLD | NEW |