OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_MHTML_ARCHIVER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_MHTML_ARCHIVER_H_ |
6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_MHTML_ARCHIVER_H_ | 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_MHTML_ARCHIVER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "components/offline_pages/offline_page_archiver.h" | 17 #include "components/offline_pages/offline_page_archiver.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class FilePath; | 20 class FilePath; |
21 class SingleThreadTaskRunner; | |
22 } // namespace base | 21 } // namespace base |
23 | 22 |
24 namespace content { | 23 namespace content { |
25 class WebContents; | 24 class WebContents; |
26 } // namespace content | 25 } // namespace content |
27 | 26 |
28 namespace offline_pages { | 27 namespace offline_pages { |
29 | 28 |
30 // Class implementing an offline page archiver using MHTML as an archive format. | 29 // Class implementing an offline page archiver using MHTML as an archive format. |
31 // | 30 // |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 CreateArchiveCallback callback_; | 88 CreateArchiveCallback callback_; |
90 | 89 |
91 base::WeakPtrFactory<OfflinePageMHTMLArchiver> weak_ptr_factory_; | 90 base::WeakPtrFactory<OfflinePageMHTMLArchiver> weak_ptr_factory_; |
92 | 91 |
93 DISALLOW_COPY_AND_ASSIGN(OfflinePageMHTMLArchiver); | 92 DISALLOW_COPY_AND_ASSIGN(OfflinePageMHTMLArchiver); |
94 }; | 93 }; |
95 | 94 |
96 } // namespace offline_pages | 95 } // namespace offline_pages |
97 | 96 |
98 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_MHTML_ARCHIVER_H_ | 97 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_MHTML_ARCHIVER_H_ |
OLD | NEW |