Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: components/offline_pages/core/offline_page_archiver.h

Issue 2683493002: Get signals working in the EXTRA_DATA section of MHTML (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_CORE_OFFLINE_PAGE_ARCHIVER_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_ARCHIVER_H_
6 #define COMPONENTS_OFFLINE_PAGES_CORE_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"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 int64_t /* file_size */)> 74 int64_t /* file_size */)>
75 CreateArchiveCallback; 75 CreateArchiveCallback;
76 76
77 virtual ~OfflinePageArchiver() {} 77 virtual ~OfflinePageArchiver() {}
78 78
79 // Starts creating the archive in the |archives_dir| per 79 // Starts creating the archive in the |archives_dir| per
80 // |create_archive_params|. Once archive is created |callback| will be called 80 // |create_archive_params|. Once archive is created |callback| will be called
81 // with the result and additional information. 81 // with the result and additional information.
82 virtual void CreateArchive(const base::FilePath& archives_dir, 82 virtual void CreateArchive(const base::FilePath& archives_dir,
83 const CreateArchiveParams& create_archive_params, 83 const CreateArchiveParams& create_archive_params,
84 const std::vector<std::string>& signal_data,
84 const CreateArchiveCallback& callback) = 0; 85 const CreateArchiveCallback& callback) = 0;
85 }; 86 };
86 87
87 } // namespace offline_pages 88 } // namespace offline_pages
88 89
89 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_ARCHIVER_H_ 90 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_ARCHIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698