Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / chromeos / file_system_provider / request_value.cc
blob5bc8e42b35b95fb51113083121c0782a1d5437d2
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.
5 #include "chrome/browser/chromeos/file_system_provider/request_value.h"
7 namespace chromeos {
8 namespace file_system_provider {
10 RequestValue::RequestValue() {
13 RequestValue::~RequestValue() {
16 scoped_ptr<RequestValue> RequestValue::CreateForUnmountSuccess(
17 scoped_ptr<extensions::api::file_system_provider_internal::
18 UnmountRequestedSuccess::Params> params) {
19 scoped_ptr<RequestValue> result(new RequestValue);
20 result->unmount_success_params_ = params.Pass();
21 return result.Pass();
24 scoped_ptr<RequestValue> RequestValue::CreateForGetMetadataSuccess(
25 scoped_ptr<extensions::api::file_system_provider_internal::
26 GetMetadataRequestedSuccess::Params> params) {
27 scoped_ptr<RequestValue> result(new RequestValue);
28 result->get_metadata_success_params_ = params.Pass();
29 return result.Pass();
32 scoped_ptr<RequestValue> RequestValue::CreateForTesting(
33 const std::string& params) {
34 scoped_ptr<RequestValue> result(new RequestValue);
35 result->testing_params_.reset(new std::string(params));
36 return result.Pass();
39 } // namespace file_system_provider
40 } // namespace chromeos