| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 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/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/hash_tables.h" | 16 #include "base/hash_tables.h" |
| 17 #include "base/ref_counted.h" | 17 #include "base/ref_counted.h" |
| 18 #include "base/task.h" | 18 #include "base/task.h" |
| 19 #include "chrome/browser/shell_dialogs.h" | |
| 20 #include "chrome/browser/tab_contents/tab_contents_observer.h" | 19 #include "chrome/browser/tab_contents/tab_contents_observer.h" |
| 20 #include "chrome/browser/ui/shell_dialogs.h" |
| 21 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
| 22 | 22 |
| 23 class SaveFileManager; | 23 class SaveFileManager; |
| 24 class SaveItem; | 24 class SaveItem; |
| 25 class SavePackage; | 25 class SavePackage; |
| 26 class DownloadItem; | 26 class DownloadItem; |
| 27 class DownloadManager; | 27 class DownloadManager; |
| 28 class GURL; | 28 class GURL; |
| 29 class MessageLoop; | 29 class MessageLoop; |
| 30 class PrefService; | 30 class PrefService; |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 | 311 |
| 312 friend class SavePackageTest; | 312 friend class SavePackageTest; |
| 313 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); | 313 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); |
| 314 | 314 |
| 315 ScopedRunnableMethodFactory<SavePackage> method_factory_; | 315 ScopedRunnableMethodFactory<SavePackage> method_factory_; |
| 316 | 316 |
| 317 DISALLOW_COPY_AND_ASSIGN(SavePackage); | 317 DISALLOW_COPY_AND_ASSIGN(SavePackage); |
| 318 }; | 318 }; |
| 319 | 319 |
| 320 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 320 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| OLD | NEW |