| 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_RANGE_H_ | 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_RANGE_H_ |
| 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_RANGE_H_ | 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_RANGE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "content/common/indexed_db/indexed_db_key.h" | 10 #include "content/common/indexed_db/indexed_db_key.h" |
| 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBKeyRange.h" | 11 #include "third_party/WebKit/public/platform/WebIDBKeyRange.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 class CONTENT_EXPORT IndexedDBKeyRange { | 15 class CONTENT_EXPORT IndexedDBKeyRange { |
| 16 public: | 16 public: |
| 17 IndexedDBKeyRange(); | 17 IndexedDBKeyRange(); |
| 18 explicit IndexedDBKeyRange(const WebKit::WebIDBKeyRange& key_range); | 18 explicit IndexedDBKeyRange(const WebKit::WebIDBKeyRange& key_range); |
| 19 explicit IndexedDBKeyRange(const IndexedDBKey& onlyKey); | 19 explicit IndexedDBKeyRange(const IndexedDBKey& onlyKey); |
| 20 IndexedDBKeyRange(const IndexedDBKey& lower, | 20 IndexedDBKeyRange(const IndexedDBKey& lower, |
| 21 const IndexedDBKey& upper, | 21 const IndexedDBKey& upper, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 35 private: | 35 private: |
| 36 IndexedDBKey lower_; | 36 IndexedDBKey lower_; |
| 37 IndexedDBKey upper_; | 37 IndexedDBKey upper_; |
| 38 bool lower_open_; | 38 bool lower_open_; |
| 39 bool upper_open_; | 39 bool upper_open_; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace content | 42 } // namespace content |
| 43 | 43 |
| 44 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_RANGE_H_ | 44 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_RANGE_H_ |
| OLD | NEW |