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 COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ARCHIVER_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_ARCHIVER_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ARCHIVER_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_ARCHIVER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace offline_pages { | 15 namespace offline_pages { |
16 | 16 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // Starts creating the archive in the |archives_dir| with |archive_id| added | 71 // Starts creating the archive in the |archives_dir| with |archive_id| added |
72 // to the archive filename. Once archive is created |callback| will be called | 72 // to the archive filename. Once archive is created |callback| will be called |
73 // with the result and additional information. | 73 // with the result and additional information. |
74 virtual void CreateArchive(const base::FilePath& archives_dir, | 74 virtual void CreateArchive(const base::FilePath& archives_dir, |
75 int64_t archive_id, | 75 int64_t archive_id, |
76 const CreateArchiveCallback& callback) = 0; | 76 const CreateArchiveCallback& callback) = 0; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace offline_pages | 79 } // namespace offline_pages |
80 | 80 |
81 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ARCHIVER_H_ | 81 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_ARCHIVER_H_ |
OLD | NEW |