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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/request_value.cc

Issue 257493004: [fsp] Refactor handling operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests. Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 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();
22 }
23
24 scoped_ptr<RequestValue> RequestValue::CreateForTesting(
25 const std::string& params) {
26 scoped_ptr<RequestValue> result(new RequestValue);
27 result->testing_params_.reset(new std::string(params));
28 return result.Pass();
29 }
30
31 } // namespace file_system_provider
32 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_system_provider/request_value.h ('k') | chrome/browser/chromeos/file_system_provider/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698