Index: net/base/file_stream_context.h |
diff --git a/net/base/file_stream_context.h b/net/base/file_stream_context.h |
index 3ce8a5b6cdc9cb7decd553e50aa4cb05f66eac69..def7c7f867c049dc8905ba88070664d048a951b4 100644 |
--- a/net/base/file_stream_context.h |
+++ b/net/base/file_stream_context.h |
@@ -107,6 +107,13 @@ class FileStream::Context { |
const CompletionCallback& callback); |
int OpenSync(const base::FilePath& path, int open_flags); |
+#if defined(OS_ANDROID) |
+ void OpenContentUrlAsync(const base::FilePath& path, |
+ int open_flags, |
+ const CompletionCallback& callback); |
+ int OpenContentUrlSync(const base::FilePath& path, int open_flags); |
+#endif |
+ |
void CloseSync(); |
void CloseAsync(const CompletionCallback& callback); |
@@ -146,6 +153,9 @@ class FileStream::Context { |
void BeginOpenEvent(const base::FilePath& path); |
OpenResult OpenFileImpl(const base::FilePath& path, int open_flags); |
+#if defined(OS_ANDROID) |
+ OpenResult OpenContentUrlImpl(const base::FilePath& path, int open_flags); |
+#endif |
void ProcessOpenError(const IOResult& result); |
void OnOpenCompleted(const CompletionCallback& callback, |