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

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. 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 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698