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 3920afb945b95d48cd71bae55f6b1a9f8550d749..b7c38f3a74f211c504a2d0b18f753ee9e61a23f6 100644 |
--- a/chrome/browser/chromeos/file_system_provider/request_value.h |
+++ b/chrome/browser/chromeos/file_system_provider/request_value.h |
@@ -40,6 +40,10 @@ class RequestValue { |
scoped_ptr<extensions::api::file_system_provider_internal:: |
ReadFileRequestedSuccess::Params> params); |
+ static scoped_ptr<RequestValue> CreateForOperationError( |
+ scoped_ptr<extensions::api::file_system_provider_internal:: |
+ OperationRequestedError::Params> params); |
+ |
static scoped_ptr<RequestValue> CreateForTesting(const std::string& params); |
const extensions::api::file_system_provider_internal:: |
@@ -66,6 +70,12 @@ class RequestValue { |
return read_file_success_params_.get(); |
} |
+ const extensions::api::file_system_provider_internal:: |
+ OperationRequestedError::Params* |
+ operation_error_params() const { |
+ return operation_error_params_.get(); |
+ } |
+ |
const std::string* testing_params() const { return testing_params_.get(); } |
private: |
@@ -79,6 +89,8 @@ class RequestValue { |
read_directory_success_params_; |
scoped_ptr<extensions::api::file_system_provider_internal:: |
ReadFileRequestedSuccess::Params> read_file_success_params_; |
+ scoped_ptr<extensions::api::file_system_provider_internal:: |
+ OperationRequestedError::Params> operation_error_params_; |
scoped_ptr<std::string> testing_params_; |
DISALLOW_COPY_AND_ASSIGN(RequestValue); |