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

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

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 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_VALUE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_VALUE_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_VALUE_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_VALUE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 13 matching lines...) Expand all
24 24
25 virtual ~RequestValue(); 25 virtual ~RequestValue();
26 26
27 static scoped_ptr<RequestValue> CreateForUnmountSuccess( 27 static scoped_ptr<RequestValue> CreateForUnmountSuccess(
28 scoped_ptr<extensions::api::file_system_provider_internal:: 28 scoped_ptr<extensions::api::file_system_provider_internal::
29 UnmountRequestedSuccess::Params> params); 29 UnmountRequestedSuccess::Params> params);
30 30
31 static scoped_ptr<RequestValue> CreateForGetMetadataSuccess( 31 static scoped_ptr<RequestValue> CreateForGetMetadataSuccess(
32 scoped_ptr<extensions::api::file_system_provider_internal:: 32 scoped_ptr<extensions::api::file_system_provider_internal::
33 GetMetadataRequestedSuccess::Params> params); 33 GetMetadataRequestedSuccess::Params> params);
34 static scoped_ptr<RequestValue> CreateForReadDirectorySuccess(
35 scoped_ptr<extensions::api::file_system_provider_internal::
36 ReadDirectoryRequestedSuccess::Params> params);
34 37
35 static scoped_ptr<RequestValue> CreateForTesting(const std::string& params); 38 static scoped_ptr<RequestValue> CreateForTesting(const std::string& params);
36 39
37 const extensions::api::file_system_provider_internal:: 40 const extensions::api::file_system_provider_internal::
38 UnmountRequestedSuccess::Params* 41 UnmountRequestedSuccess::Params*
39 unmount_success_params() const { 42 unmount_success_params() const {
40 return unmount_success_params_.get(); 43 return unmount_success_params_.get();
41 } 44 }
42 45
43 const extensions::api::file_system_provider_internal:: 46 const extensions::api::file_system_provider_internal::
44 GetMetadataRequestedSuccess::Params* 47 GetMetadataRequestedSuccess::Params*
45 get_metadata_success_params() const { 48 get_metadata_success_params() const {
46 return get_metadata_success_params_.get(); 49 return get_metadata_success_params_.get();
47 } 50 }
48 51
52 const extensions::api::file_system_provider_internal::
53 ReadDirectoryRequestedSuccess::Params*
54 read_directory_success_params() const {
55 return read_directory_success_params_.get();
56 }
57
49 const std::string* testing_params() const { return testing_params_.get(); } 58 const std::string* testing_params() const { return testing_params_.get(); }
50 59
51 private: 60 private:
52 scoped_ptr<extensions::api::file_system_provider_internal:: 61 scoped_ptr<extensions::api::file_system_provider_internal::
53 UnmountRequestedSuccess::Params> unmount_success_params_; 62 UnmountRequestedSuccess::Params> unmount_success_params_;
54 scoped_ptr<extensions::api::file_system_provider_internal:: 63 scoped_ptr<extensions::api::file_system_provider_internal::
55 GetMetadataRequestedSuccess::Params> 64 GetMetadataRequestedSuccess::Params>
56 get_metadata_success_params_; 65 get_metadata_success_params_;
66 scoped_ptr<extensions::api::file_system_provider_internal::
67 ReadDirectoryRequestedSuccess::Params>
68 read_directory_success_params_;
57 scoped_ptr<std::string> testing_params_; 69 scoped_ptr<std::string> testing_params_;
58 70
59 DISALLOW_COPY_AND_ASSIGN(RequestValue); 71 DISALLOW_COPY_AND_ASSIGN(RequestValue);
60 }; 72 };
61 73
62 } // namespace file_system_provider 74 } // namespace file_system_provider
63 } // namespace chromeos 75 } // namespace chromeos
64 76
65 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_VALUE_H_ 77 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_VALUE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698