| 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> |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 // Now we actually use render_process_id as tab's unique id. | 318 // Now we actually use render_process_id as tab's unique id. |
| 319 const int tab_id_; | 319 const int tab_id_; |
| 320 | 320 |
| 321 // Unique ID for this SavePackage. | 321 // Unique ID for this SavePackage. |
| 322 const int unique_id_; | 322 const int unique_id_; |
| 323 | 323 |
| 324 friend class SavePackageTest; | 324 friend class SavePackageTest; |
| 325 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); | 325 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); |
| 326 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); | 326 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); |
| 327 | 327 |
| 328 ScopedRunnableMethodFactory<SavePackage> method_factory_; | |
| 329 | |
| 330 DISALLOW_COPY_AND_ASSIGN(SavePackage); | 328 DISALLOW_COPY_AND_ASSIGN(SavePackage); |
| 331 }; | 329 }; |
| 332 | 330 |
| 333 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 331 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| OLD | NEW |