| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #ifndef WebIDBKeyRange_h | 26 #ifndef WebIDBKeyRange_h |
| 27 #define WebIDBKeyRange_h | 27 #define WebIDBKeyRange_h |
| 28 | 28 |
| 29 #include "WebCommon.h" | 29 #include "WebCommon.h" |
| 30 #include "WebPrivatePtr.h" | 30 #include "WebPrivatePtr.h" |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 class IDBKeyRange; | 34 class IDBKeyRange; |
| 35 class WebIDBKey; | 35 class WebIDBKey; |
| 36 class WebString; | |
| 37 | 36 |
| 38 class WebIDBKeyRange { | 37 class WebIDBKeyRange { |
| 39 public: | 38 public: |
| 40 ~WebIDBKeyRange() { reset(); } | 39 ~WebIDBKeyRange() { reset(); } |
| 41 | 40 |
| 42 WebIDBKeyRange(const WebIDBKeyRange& keyRange) { assign(keyRange); } | 41 WebIDBKeyRange(const WebIDBKeyRange& keyRange) { assign(keyRange); } |
| 43 WebIDBKeyRange(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpe
n, bool upperOpen) { assign(lower, upper, lowerOpen, upperOpen); } | 42 WebIDBKeyRange(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpe
n, bool upperOpen) { assign(lower, upper, lowerOpen, upperOpen); } |
| 44 | 43 |
| 45 BLINK_EXPORT WebIDBKey lower() const; | 44 BLINK_EXPORT WebIDBKey lower() const; |
| 46 BLINK_EXPORT WebIDBKey upper() const; | 45 BLINK_EXPORT WebIDBKey upper() const; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 57 operator IDBKeyRange*() const; | 56 operator IDBKeyRange*() const; |
| 58 #endif | 57 #endif |
| 59 | 58 |
| 60 private: | 59 private: |
| 61 WebPrivatePtr<IDBKeyRange> m_private; | 60 WebPrivatePtr<IDBKeyRange> m_private; |
| 62 }; | 61 }; |
| 63 | 62 |
| 64 } // namespace blink | 63 } // namespace blink |
| 65 | 64 |
| 66 #endif // WebIDBKeyRange_h | 65 #endif // WebIDBKeyRange_h |
| OLD | NEW |