| 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 CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 6 #define CONTENT_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/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/task.h" | 19 #include "base/task.h" |
| 20 #include "chrome/browser/download/download_manager.h" | 20 #include "content/browser/download/download_manager.h" |
| 21 #include "content/browser/tab_contents/tab_contents_observer.h" | 21 #include "content/browser/tab_contents/tab_contents_observer.h" |
| 22 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
| 23 | 23 |
| 24 class GURL; | 24 class GURL; |
| 25 class MessageLoop; | 25 class MessageLoop; |
| 26 class PrefService; | 26 class PrefService; |
| 27 class SaveFileManager; | 27 class SaveFileManager; |
| 28 class SaveItem; | 28 class SaveItem; |
| 29 class SavePackage; | 29 class SavePackage; |
| 30 class TabContents; | 30 class TabContents; |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 friend class SavePackageTest; | 319 friend class SavePackageTest; |
| 320 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); | 320 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); |
| 321 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); | 321 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); |
| 322 | 322 |
| 323 ScopedRunnableMethodFactory<SavePackage> method_factory_; | 323 ScopedRunnableMethodFactory<SavePackage> method_factory_; |
| 324 | 324 |
| 325 DISALLOW_COPY_AND_ASSIGN(SavePackage); | 325 DISALLOW_COPY_AND_ASSIGN(SavePackage); |
| 326 }; | 326 }; |
| 327 | 327 |
| 328 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 328 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| OLD | NEW |