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 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 | |
8 | 7 |
9 #include <queue> | 8 #include <queue> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/file_path.h" | 13 #include "base/file_path.h" |
15 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
16 #include "base/hash_tables.h" | 15 #include "base/hash_tables.h" |
17 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 bool wrote_to_failed_file_; | 321 bool wrote_to_failed_file_; |
323 | 322 |
324 friend class SavePackageTest; | 323 friend class SavePackageTest; |
325 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); | 324 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); |
326 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); | 325 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); |
327 | 326 |
328 DISALLOW_COPY_AND_ASSIGN(SavePackage); | 327 DISALLOW_COPY_AND_ASSIGN(SavePackage); |
329 }; | 328 }; |
330 | 329 |
331 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 330 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
OLD | NEW |