summaryrefslogtreecommitdiffstats
path: root/includes/image_io/gcontainer/gcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/image_io/gcontainer/gcontainer.h')
-rw-r--r--includes/image_io/gcontainer/gcontainer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/image_io/gcontainer/gcontainer.h b/includes/image_io/gcontainer/gcontainer.h
index c0bd66f..118956c 100644
--- a/includes/image_io/gcontainer/gcontainer.h
+++ b/includes/image_io/gcontainer/gcontainer.h
@@ -1,6 +1,7 @@
#ifndef IMAGE_IO_GCONTAINER_GCONTAINER_H_ // NOLINT
#define IMAGE_IO_GCONTAINER_GCONTAINER_H_ // NOLINT
+#include <iostream>
#include <string>
#include <vector>
@@ -29,6 +30,11 @@ bool ParseFileAfterImage(const std::string& input_file_name,
size_t file_start_offset, size_t file_length,
std::string* out_file_contents);
+// Used by AOSP.
+bool ParseFileAfterImageFromStream(size_t start_offset, size_t length,
+ std::istream& input_jpeg_stream,
+ std::string* out_contents);
+
} // namespace gcontainer
} // namespace image_io
} // namespace photos_editing_formats