OLD | NEW |
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/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/common/extensions/api/file_system_provider_internal.h" | 12 #include "chrome/common/extensions/api/file_system_provider_internal.h" |
12 | 13 |
13 namespace chromeos { | 14 namespace chromeos { |
14 namespace file_system_provider { | 15 namespace file_system_provider { |
15 | 16 |
16 // Holds a parsed value returned by a providing extension. Each accessor can | 17 // Holds a parsed value returned by a providing extension. Each accessor can |
17 // return NULL in case the requested value type is not available. It is used | 18 // return NULL in case the requested value type is not available. It is used |
18 // to pass values of success callbacks. | 19 // to pass values of success callbacks. |
19 class RequestValue { | 20 class RequestValue { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 OperationRequestedError::Params> operation_error_params_; | 119 OperationRequestedError::Params> operation_error_params_; |
119 scoped_ptr<std::string> testing_params_; | 120 scoped_ptr<std::string> testing_params_; |
120 | 121 |
121 DISALLOW_COPY_AND_ASSIGN(RequestValue); | 122 DISALLOW_COPY_AND_ASSIGN(RequestValue); |
122 }; | 123 }; |
123 | 124 |
124 } // namespace file_system_provider | 125 } // namespace file_system_provider |
125 } // namespace chromeos | 126 } // namespace chromeos |
126 | 127 |
127 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_VALUE_H_ | 128 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_VALUE_H_ |
OLD | NEW |