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

Unified Diff: components/filesystem/file_impl.h

Issue 2492283002: Mojo C++ bindings: switch components/filesystem mojom target to use STL types. (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/filesystem/directory_impl_unittest.cc ('k') | components/filesystem/file_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/file_impl.h
diff --git a/components/filesystem/file_impl.h b/components/filesystem/file_impl.h
index 8ad9193777bbb4ba4d72f1dd5dfb2b2a12aaa2ec..fdcb5c3d54e152cf5dd71a4a00a8ade55e937e7c 100644
--- a/components/filesystem/file_impl.h
+++ b/components/filesystem/file_impl.h
@@ -50,7 +50,7 @@ class FileImpl : public mojom::File {
int64_t offset,
mojom::Whence whence,
const ReadCallback& callback) override;
- void Write(mojo::Array<uint8_t> bytes_to_write,
+ void Write(const std::vector<uint8_t>& bytes_to_write,
int64_t offset,
mojom::Whence whence,
const WriteCallback& callback) override;
« no previous file with comments | « components/filesystem/directory_impl_unittest.cc ('k') | components/filesystem/file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698