| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 EXTENSIONS_RENDERER_ARGUMENT_SPEC_H_ | 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_ARGUMENT_SPEC_H_ |
| 6 #define EXTENSIONS_RENDERER_ARGUMENT_SPEC_H_ | 6 #define EXTENSIONS_RENDERER_BINDINGS_ARGUMENT_SPEC_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/optional.h" | 15 #include "base/optional.h" |
| 16 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 // The specification for 'additional properties'. This is used when we want | 172 // The specification for 'additional properties'. This is used when we want |
| 173 // to allow the API to pass an object with arbitrary properties. Only | 173 // to allow the API to pass an object with arbitrary properties. Only |
| 174 // applicable for ArgumentType::OBJECT. | 174 // applicable for ArgumentType::OBJECT. |
| 175 std::unique_ptr<ArgumentSpec> additional_properties_; | 175 std::unique_ptr<ArgumentSpec> additional_properties_; |
| 176 | 176 |
| 177 DISALLOW_COPY_AND_ASSIGN(ArgumentSpec); | 177 DISALLOW_COPY_AND_ASSIGN(ArgumentSpec); |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 } // namespace extensions | 180 } // namespace extensions |
| 181 | 181 |
| 182 #endif // EXTENSIONS_RENDERER_ARGUMENT_SPEC_H_ | 182 #endif // EXTENSIONS_RENDERER_BINDINGS_ARGUMENT_SPEC_H_ |
| OLD | NEW |