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 Array_h | 5 #ifndef Array_h |
6 #define Array_h | 6 #define Array_h |
7 | 7 |
8 #include "platform/inspector_protocol/ErrorSupport.h" | 8 //#include "ErrorSupport.h" |
9 #include "platform/inspector_protocol/Platform.h" | 9 //#include "Platform.h" |
10 #include "platform/inspector_protocol/String16.h" | 10 //#include "String16.h" |
11 #include "platform/inspector_protocol/ValueConversions.h" | 11 //#include "ValueConversions.h" |
12 #include "platform/inspector_protocol/Values.h" | 12 //#include "Values.h" |
13 | 13 |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 namespace protocol { | 17 namespace protocol { |
18 | 18 |
19 template<typename T> | 19 template<typename T> |
20 class Array { | 20 class Array { |
21 public: | 21 public: |
22 static std::unique_ptr<Array<T>> create() | 22 static std::unique_ptr<Array<T>> create() |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 template<> class Array<InspectorProtocolConvenienceStringType> : public ArrayBas
e<InspectorProtocolConvenienceStringType> {}; | 129 template<> class Array<InspectorProtocolConvenienceStringType> : public ArrayBas
e<InspectorProtocolConvenienceStringType> {}; |
130 template<> class Array<String16> : public ArrayBase<String16> {}; | 130 template<> class Array<String16> : public ArrayBase<String16> {}; |
131 template<> class Array<int> : public ArrayBase<int> {}; | 131 template<> class Array<int> : public ArrayBase<int> {}; |
132 template<> class Array<double> : public ArrayBase<double> {}; | 132 template<> class Array<double> : public ArrayBase<double> {}; |
133 template<> class Array<bool> : public ArrayBase<bool> {}; | 133 template<> class Array<bool> : public ArrayBase<bool> {}; |
134 | 134 |
135 } // namespace platform | 135 } // namespace platform |
136 } // namespace blink | 136 } // namespace blink |
137 | 137 |
138 #endif // !defined(Array_h) | 138 #endif // !defined(Array_h) |
OLD | NEW |