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

Unified Diff: chrome/browser/chromeos/file_system_provider/request_value.cc

Issue 258783006: [fsp] Add the getMetadata operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/file_system_provider/request_value.cc
diff --git a/chrome/browser/chromeos/file_system_provider/request_value.cc b/chrome/browser/chromeos/file_system_provider/request_value.cc
index 105e6b0a92ea496048438858eb1a12c9dc766b35..5bc8e42b35b95fb51113083121c0782a1d5437d2 100644
--- a/chrome/browser/chromeos/file_system_provider/request_value.cc
+++ b/chrome/browser/chromeos/file_system_provider/request_value.cc
@@ -21,6 +21,14 @@ scoped_ptr<RequestValue> RequestValue::CreateForUnmountSuccess(
return result.Pass();
}
+scoped_ptr<RequestValue> RequestValue::CreateForGetMetadataSuccess(
+ scoped_ptr<extensions::api::file_system_provider_internal::
+ GetMetadataRequestedSuccess::Params> params) {
+ scoped_ptr<RequestValue> result(new RequestValue);
+ result->get_metadata_success_params_ = params.Pass();
+ return result.Pass();
+}
+
scoped_ptr<RequestValue> RequestValue::CreateForTesting(
const std::string& params) {
scoped_ptr<RequestValue> result(new RequestValue);
« no previous file with comments | « chrome/browser/chromeos/file_system_provider/request_value.h ('k') | chrome/browser/chromeos/fileapi/file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698