OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/common/indexed_db/indexed_db_key.h" | 5 #include "content/common/indexed_db/indexed_db_key.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 using WebKit::WebIDBKey; | 13 using WebKit::WebIDBKey; |
14 using WebKit::WebVector; | 14 using WebKit::WebVector; |
15 | 15 |
16 IndexedDBKey::IndexedDBKey() | 16 IndexedDBKey::IndexedDBKey() |
17 : type_(WebIDBKey::NullType), | 17 : type_(WebIDBKey::NullType), |
18 date_(0), | 18 date_(0), |
19 number_(0) { | 19 number_(0) { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 case WebIDBKey::InvalidType: | 82 case WebIDBKey::InvalidType: |
83 return WebIDBKey::createInvalid(); | 83 return WebIDBKey::createInvalid(); |
84 case WebIDBKey::NullType: | 84 case WebIDBKey::NullType: |
85 return WebIDBKey::createNull(); | 85 return WebIDBKey::createNull(); |
86 } | 86 } |
87 NOTREACHED(); | 87 NOTREACHED(); |
88 return WebIDBKey::createInvalid(); | 88 return WebIDBKey::createInvalid(); |
89 } | 89 } |
90 | 90 |
91 } // namespace content | 91 } // namespace content |
OLD | NEW |