OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FILE_SELECT_HELPER_H_ | 5 #ifndef CHROME_BROWSER_FILE_SELECT_HELPER_H_ |
6 #define CHROME_BROWSER_FILE_SELECT_HELPER_H_ | 6 #define CHROME_BROWSER_FILE_SELECT_HELPER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "build/build_config.h" |
14 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
16 #include "content/public/browser/web_contents_observer.h" | 18 #include "content/public/browser/web_contents_observer.h" |
17 #include "content/public/common/file_chooser_params.h" | 19 #include "content/public/common/file_chooser_params.h" |
18 #include "net/base/directory_lister.h" | 20 #include "net/base/directory_lister.h" |
19 #include "ui/shell_dialogs/select_file_dialog.h" | 21 #include "ui/shell_dialogs/select_file_dialog.h" |
20 | 22 |
21 #if defined(FULL_SAFE_BROWSING) | 23 #if defined(FULL_SAFE_BROWSING) |
22 #include "chrome/browser/safe_browsing/unverified_download_policy.h" | 24 #include "chrome/browser/safe_browsing/unverified_download_policy.h" |
23 #endif | 25 #endif |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 content::NotificationRegistrar notification_registrar_; | 236 content::NotificationRegistrar notification_registrar_; |
235 | 237 |
236 // Temporary files only used on OSX. This class is responsible for deleting | 238 // Temporary files only used on OSX. This class is responsible for deleting |
237 // these files when they are no longer needed. | 239 // these files when they are no longer needed. |
238 std::vector<base::FilePath> temporary_files_; | 240 std::vector<base::FilePath> temporary_files_; |
239 | 241 |
240 DISALLOW_COPY_AND_ASSIGN(FileSelectHelper); | 242 DISALLOW_COPY_AND_ASSIGN(FileSelectHelper); |
241 }; | 243 }; |
242 | 244 |
243 #endif // CHROME_BROWSER_FILE_SELECT_HELPER_H_ | 245 #endif // CHROME_BROWSER_FILE_SELECT_HELPER_H_ |
OLD | NEW |