OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/chromeos/file_system_provider/request_value.h" |
| 6 |
| 7 namespace chromeos { |
| 8 namespace file_system_provider { |
| 9 |
| 10 RequestValue::RequestValue() { |
| 11 } |
| 12 |
| 13 RequestValue::~RequestValue() { |
| 14 } |
| 15 |
| 16 RequestValue* RequestValue::CreateForUnmountSuccess( |
| 17 scoped_ptr<extensions::api::file_system_provider_internal:: |
| 18 UnmountRequestedSuccess::Params> params) { |
| 19 RequestValue* result = new RequestValue(); |
| 20 result->unmount_success_params_ = params.Pass(); |
| 21 return result; |
| 22 } |
| 23 |
| 24 RequestValue* RequestValue::CreateForTesting(const std::string& params) { |
| 25 RequestValue* result = new RequestValue(); |
| 26 result->testing_params_.reset(new std::string(params)); |
| 27 return result; |
| 28 } |
| 29 |
| 30 } // namespace file_system_provider |
| 31 } // namespace chromeos |
OLD | NEW |