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 <algorithm> |
| 8 #include <string> |
| 9 #include <vector> |
| 10 |
7 #include "base/logging.h" | 11 #include "base/logging.h" |
8 #include "third_party/WebKit/public/platform/WebVector.h" | 12 #include "third_party/WebKit/public/platform/WebVector.h" |
9 | 13 |
10 using blink::WebIDBKey; | 14 using blink::WebIDBKey; |
11 using blink::WebIDBKeyRange; | 15 using blink::WebIDBKeyRange; |
12 using blink::WebIDBKeyTypeArray; | 16 using blink::WebIDBKeyTypeArray; |
13 using blink::WebIDBKeyTypeBinary; | 17 using blink::WebIDBKeyTypeBinary; |
14 using blink::WebIDBKeyTypeDate; | 18 using blink::WebIDBKeyTypeDate; |
15 using blink::WebIDBKeyTypeInvalid; | 19 using blink::WebIDBKeyTypeInvalid; |
16 using blink::WebIDBKeyTypeMin; | 20 using blink::WebIDBKeyTypeMin; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 return blink::WebIDBKeyPath::create(CopyArray(key_path.array())); | 130 return blink::WebIDBKeyPath::create(CopyArray(key_path.array())); |
127 case blink::WebIDBKeyPathTypeNull: | 131 case blink::WebIDBKeyPathTypeNull: |
128 return blink::WebIDBKeyPath::createNull(); | 132 return blink::WebIDBKeyPath::createNull(); |
129 default: | 133 default: |
130 NOTREACHED(); | 134 NOTREACHED(); |
131 return blink::WebIDBKeyPath::createNull(); | 135 return blink::WebIDBKeyPath::createNull(); |
132 } | 136 } |
133 } | 137 } |
134 | 138 |
135 } // namespace content | 139 } // namespace content |
OLD | NEW |