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

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

Issue 246913003: [fsp] Add support for reading directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/file_system_provider/request_value.h" 5 #include "chrome/browser/chromeos/file_system_provider/request_value.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 namespace file_system_provider { 8 namespace file_system_provider {
9 9
10 RequestValue::RequestValue() { 10 RequestValue::RequestValue() {
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 scoped_ptr<RequestValue> RequestValue::CreateForGetMetadataSuccess( 24 scoped_ptr<RequestValue> RequestValue::CreateForGetMetadataSuccess(
25 scoped_ptr<extensions::api::file_system_provider_internal:: 25 scoped_ptr<extensions::api::file_system_provider_internal::
26 GetMetadataRequestedSuccess::Params> params) { 26 GetMetadataRequestedSuccess::Params> params) {
27 scoped_ptr<RequestValue> result(new RequestValue); 27 scoped_ptr<RequestValue> result(new RequestValue);
28 result->get_metadata_success_params_ = params.Pass(); 28 result->get_metadata_success_params_ = params.Pass();
29 return result.Pass(); 29 return result.Pass();
30 } 30 }
31 31
32 scoped_ptr<RequestValue> RequestValue::CreateForReadDirectorySuccess(
33 scoped_ptr<extensions::api::file_system_provider_internal::
34 ReadDirectoryRequestedSuccess::Params> params) {
35 scoped_ptr<RequestValue> result(new RequestValue);
36 result->read_directory_success_params_ = params.Pass();
37 return result.Pass();
38 }
39
32 scoped_ptr<RequestValue> RequestValue::CreateForTesting( 40 scoped_ptr<RequestValue> RequestValue::CreateForTesting(
33 const std::string& params) { 41 const std::string& params) {
34 scoped_ptr<RequestValue> result(new RequestValue); 42 scoped_ptr<RequestValue> result(new RequestValue);
35 result->testing_params_.reset(new std::string(params)); 43 result->testing_params_.reset(new std::string(params));
36 return result.Pass(); 44 return result.Pass();
37 } 45 }
38 46
39 } // namespace file_system_provider 47 } // namespace file_system_provider
40 } // namespace chromeos 48 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_system_provider/request_value.h ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698