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

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

Issue 258783006: [fsp] Add the getMetadata operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a lot. 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.h
diff --git a/chrome/browser/chromeos/file_system_provider/request_value.h b/chrome/browser/chromeos/file_system_provider/request_value.h
index 33872b0c3241b0c9af895d61a28440fb0df4ee3e..892873365157d991b1d6798768964a8a7b16c362 100644
--- a/chrome/browser/chromeos/file_system_provider/request_value.h
+++ b/chrome/browser/chromeos/file_system_provider/request_value.h
@@ -28,9 +28,11 @@ class RequestValue {
scoped_ptr<extensions::api::file_system_provider_internal::
UnmountRequestedSuccess::Params> params);
- static scoped_ptr<RequestValue> CreateForTesting(const std::string& params);
+ static scoped_ptr<RequestValue> CreateForGetMetadataSuccess(
+ scoped_ptr<extensions::api::file_system_provider_internal::
+ GetMetadataRequestedSuccess::Params> params);
- const std::string* testing_params() const { return testing_params_.get(); }
+ static scoped_ptr<RequestValue> CreateForTesting(const std::string& params);
const extensions::api::file_system_provider_internal::
UnmountRequestedSuccess::Params*
@@ -38,9 +40,20 @@ class RequestValue {
return unmount_success_params_.get();
}
+ const extensions::api::file_system_provider_internal::
+ GetMetadataRequestedSuccess::Params*
+ get_metadata_success_params() const {
+ return get_metadata_success_params_.get();
+ }
+
+ const std::string* testing_params() const { return testing_params_.get(); }
+
private:
scoped_ptr<extensions::api::file_system_provider_internal::
UnmountRequestedSuccess::Params> unmount_success_params_;
+ scoped_ptr<extensions::api::file_system_provider_internal::
+ GetMetadataRequestedSuccess::Params>
+ get_metadata_success_params_;
scoped_ptr<std::string> testing_params_;
DISALLOW_COPY_AND_ASSIGN(RequestValue);

Powered by Google App Engine
This is Rietveld 408576698