| 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 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ | 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ |
| 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ | 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
| 14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 16 #include "third_party/WebKit/public/platform/WebIDBTypes.h" | 16 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 class WebIDBKey; | 19 class WebIDBKey; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| 24 class CONTENT_EXPORT IndexedDBKey { | 24 class CONTENT_EXPORT IndexedDBKey { |
| 25 public: | 25 public: |
| 26 typedef std::vector<IndexedDBKey> KeyArray; | 26 typedef std::vector<IndexedDBKey> KeyArray; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 std::string binary_; | 73 std::string binary_; |
| 74 base::string16 string_; | 74 base::string16 string_; |
| 75 double number_ = 0; | 75 double number_ = 0; |
| 76 | 76 |
| 77 size_t size_estimate_; | 77 size_t size_estimate_; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace content | 80 } // namespace content |
| 81 | 81 |
| 82 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ | 82 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ |
| OLD | NEW |