summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/file_system_provider/request_value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/file_system_provider/request_value.cc')
-rw-r--r--chrome/browser/chromeos/file_system_provider/request_value.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/file_system_provider/request_value.cc b/chrome/browser/chromeos/file_system_provider/request_value.cc
index 105e6b0..5bc8e42 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);