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

Unified Diff: components/filesystem/public/cpp/prefs/filesystem_json_pref_store.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
Index: components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h
diff --git a/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h b/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h
index 0ea0d93dd7415ae63656ea40a194fed4e8d8aefc..d52b0ec1c2f56d635f62177dc749225e4c88d4d6 100644
--- a/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h
+++ b/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h
@@ -148,7 +148,7 @@ class FilesystemJsonPrefStore
// Asynchronous implementation details of ReadPrefsAsync().
void OnPreferencesReadStart();
void OnPreferencesFileRead(mojom::FileError err,
- mojo::Array<uint8_t> contents);
+ const std::vector<uint8_t>& contents);
const std::string path_;
mojo::Binding<filesystem::mojom::FileSystemClient> binding_;
« no previous file with comments | « components/filesystem/file_impl_unittest.cc ('k') | components/filesystem/public/cpp/prefs/filesystem_json_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698