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 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
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/containers/hash_tables.h" |
14 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
15 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.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/time.h" | 19 #include "base/time.h" |
20 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
21 #include "content/public/browser/download_item.h" | 21 #include "content/public/browser/download_item.h" |
22 #include "content/public/browser/download_manager_delegate.h" | 22 #include "content/public/browser/download_manager_delegate.h" |
23 #include "content/public/browser/save_page_type.h" | 23 #include "content/public/browser/save_page_type.h" |
24 #include "content/public/browser/web_contents_observer.h" | 24 #include "content/public/browser/web_contents_observer.h" |
25 #include "content/public/common/referrer.h" | 25 #include "content/public/common/referrer.h" |
26 #include "googleurl/src/gurl.h" | 26 #include "googleurl/src/gurl.h" |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 friend class SavePackageTest; | 326 friend class SavePackageTest; |
327 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); | 327 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); |
328 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); | 328 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); |
329 | 329 |
330 DISALLOW_COPY_AND_ASSIGN(SavePackage); | 330 DISALLOW_COPY_AND_ASSIGN(SavePackage); |
331 }; | 331 }; |
332 | 332 |
333 } // namespace content | 333 } // namespace content |
334 | 334 |
335 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 335 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
OLD | NEW |