OLD | NEW |
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_PLUGIN_DOWNLOAD_HELPER_H_ | 5 #ifndef CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_ |
6 #define CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_ | 6 #define CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
| 10 |
10 #include "build/build_config.h" | 11 #include "build/build_config.h" |
11 | |
12 #if defined(OS_WIN) | |
13 #include "base/file_path.h" | 12 #include "base/file_path.h" |
14 #include "base/message_loop_proxy.h" | 13 #include "base/message_loop_proxy.h" |
15 #include "content/public/common/url_fetcher_delegate.h" | 14 #include "content/public/common/url_fetcher_delegate.h" |
16 #include "net/base/file_stream.h" | 15 #include "net/base/file_stream.h" |
17 #include "net/url_request/url_request.h" | 16 #include "net/url_request/url_request.h" |
18 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
19 | 18 |
20 namespace net { | 19 namespace net { |
21 class URLRequestContextGetter; | 20 class URLRequestContextGetter; |
22 } | 21 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // indicating that the download completed. | 56 // indicating that the download completed. |
58 gfx::NativeWindow download_file_caller_window_; | 57 gfx::NativeWindow download_file_caller_window_; |
59 | 58 |
60 std::string download_url_; | 59 std::string download_url_; |
61 | 60 |
62 PluginDownloadUrlHelper::DownloadDelegate* delegate_; | 61 PluginDownloadUrlHelper::DownloadDelegate* delegate_; |
63 | 62 |
64 DISALLOW_COPY_AND_ASSIGN(PluginDownloadUrlHelper); | 63 DISALLOW_COPY_AND_ASSIGN(PluginDownloadUrlHelper); |
65 }; | 64 }; |
66 | 65 |
67 #endif // OS_WIN | |
68 | |
69 #endif // CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_ | 66 #endif // CHROME_BROWSER_PLUGIN_DOWNLOAD_HELPER_H_ |
OLD | NEW |