| Index: Source/modules/indexeddb/IDBKeyRange.h
|
| diff --git a/Source/modules/indexeddb/IDBKeyRange.h b/Source/modules/indexeddb/IDBKeyRange.h
|
| index cdc17a7374b830b0652c44e3e41adf145ba6f23a..6c9e017fa5965e8b80fb8fc32a3300aa7a83a340 100644
|
| --- a/Source/modules/indexeddb/IDBKeyRange.h
|
| +++ b/Source/modules/indexeddb/IDBKeyRange.h
|
| @@ -54,6 +54,7 @@ public:
|
| static PassRefPtr<IDBKeyRange> create(PassRefPtr<IDBKey> prpKey);
|
| ~IDBKeyRange() { }
|
|
|
| + // Implement the IDBKeyRange IDL
|
| PassRefPtr<IDBKey> lower() const { return m_lower; }
|
| PassRefPtr<IDBKey> upper() const { return m_upper; }
|
|
|
| @@ -62,19 +63,13 @@ public:
|
| bool lowerOpen() const { return m_lowerType == LowerBoundOpen; }
|
| bool upperOpen() const { return m_upperType == UpperBoundOpen; }
|
|
|
| - static PassRefPtr<IDBKeyRange> only(PassRefPtr<IDBKey> value, ExceptionCode&);
|
| static PassRefPtr<IDBKeyRange> only(ScriptExecutionContext*, const ScriptValue& key, ExceptionCode&);
|
| -
|
| - static PassRefPtr<IDBKeyRange> lowerBound(ScriptExecutionContext* context, const ScriptValue& bound, ExceptionCode& ec) { return lowerBound(context, bound, false, ec); }
|
| static PassRefPtr<IDBKeyRange> lowerBound(ScriptExecutionContext*, const ScriptValue& bound, bool open, ExceptionCode&);
|
| -
|
| - static PassRefPtr<IDBKeyRange> upperBound(ScriptExecutionContext* context, const ScriptValue& bound, ExceptionCode& ec) { return upperBound(context, bound, false, ec); }
|
| static PassRefPtr<IDBKeyRange> upperBound(ScriptExecutionContext*, const ScriptValue& bound, bool open, ExceptionCode&);
|
| -
|
| - static PassRefPtr<IDBKeyRange> bound(ScriptExecutionContext* context, const ScriptValue& lower, const ScriptValue& upper, ExceptionCode& ec) { return bound(context, lower, upper, false, false, ec); }
|
| - static PassRefPtr<IDBKeyRange> bound(ScriptExecutionContext* context, const ScriptValue& lower, const ScriptValue& upper, bool lowerOpen, ExceptionCode& ec) { return bound(context, lower, upper, lowerOpen, false, ec); }
|
| static PassRefPtr<IDBKeyRange> bound(ScriptExecutionContext*, const ScriptValue& lower, const ScriptValue& upper, bool lowerOpen, bool upperOpen, ExceptionCode&);
|
|
|
| + static PassRefPtr<IDBKeyRange> only(PassRefPtr<IDBKey> value, ExceptionCode&);
|
| +
|
| bool isOnlyKey() const;
|
|
|
| private:
|
|
|