OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "content/child/indexed_db/indexed_db_key_builders.h" | 5 #include "content/child/indexed_db/indexed_db_key_builders.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
12 #include "third_party/WebKit/public/platform/WebVector.h" | 14 #include "third_party/WebKit/public/platform/WebVector.h" |
13 | 15 |
14 using blink::WebIDBKey; | 16 using blink::WebIDBKey; |
15 using blink::WebIDBKeyRange; | 17 using blink::WebIDBKeyRange; |
16 using blink::WebIDBKeyTypeArray; | 18 using blink::WebIDBKeyTypeArray; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 return blink::WebIDBKeyPath::create(CopyArray(key_path.array())); | 132 return blink::WebIDBKeyPath::create(CopyArray(key_path.array())); |
131 case blink::WebIDBKeyPathTypeNull: | 133 case blink::WebIDBKeyPathTypeNull: |
132 return blink::WebIDBKeyPath::createNull(); | 134 return blink::WebIDBKeyPath::createNull(); |
133 default: | 135 default: |
134 NOTREACHED(); | 136 NOTREACHED(); |
135 return blink::WebIDBKeyPath::createNull(); | 137 return blink::WebIDBKeyPath::createNull(); |
136 } | 138 } |
137 } | 139 } |
138 | 140 |
139 } // namespace content | 141 } // namespace content |
OLD | NEW |