Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 { 57 {
58 return new IDBObjectStore(metadata, transaction); 58 return new IDBObjectStore(metadata, transaction);
59 } 59 }
60 ~IDBObjectStore() { } 60 ~IDBObjectStore() { }
61 DECLARE_TRACE(); 61 DECLARE_TRACE();
62 62
63 // Implement the IDBObjectStore IDL 63 // Implement the IDBObjectStore IDL
64 int64_t id() const { return m_metadata.id; } 64 int64_t id() const { return m_metadata.id; }
65 const String& name() const { return m_metadata.name; } 65 const String& name() const { return m_metadata.name; }
66 ScriptValue keyPath(ScriptState*) const; 66 ScriptValue keyPath(ScriptState*) const;
67 PassRefPtrWillBeRawPtr<DOMStringList> indexNames() const; 67 RawPtr<DOMStringList> indexNames() const;
68 IDBTransaction* transaction() const { return m_transaction.get(); } 68 IDBTransaction* transaction() const { return m_transaction.get(); }
69 bool autoIncrement() const { return m_metadata.autoIncrement; } 69 bool autoIncrement() const { return m_metadata.autoIncrement; }
70 70
71 IDBRequest* openCursor(ScriptState*, const ScriptValue& range, const String& direction, ExceptionState&); 71 IDBRequest* openCursor(ScriptState*, const ScriptValue& range, const String& direction, ExceptionState&);
72 IDBRequest* openKeyCursor(ScriptState*, const ScriptValue& range, const Stri ng& direction, ExceptionState&); 72 IDBRequest* openKeyCursor(ScriptState*, const ScriptValue& range, const Stri ng& direction, ExceptionState&);
73 IDBRequest* get(ScriptState*, const ScriptValue& key, ExceptionState&); 73 IDBRequest* get(ScriptState*, const ScriptValue& key, ExceptionState&);
74 IDBRequest* getAll(ScriptState*, const ScriptValue& range, unsigned long max Count, ExceptionState&); 74 IDBRequest* getAll(ScriptState*, const ScriptValue& range, unsigned long max Count, ExceptionState&);
75 IDBRequest* getAll(ScriptState*, const ScriptValue& range, ExceptionState&); 75 IDBRequest* getAll(ScriptState*, const ScriptValue& range, ExceptionState&);
76 IDBRequest* getAllKeys(ScriptState*, const ScriptValue& range, unsigned long maxCount, ExceptionState&); 76 IDBRequest* getAllKeys(ScriptState*, const ScriptValue& range, unsigned long maxCount, ExceptionState&);
77 IDBRequest* getAllKeys(ScriptState*, const ScriptValue& range, ExceptionStat e&); 77 IDBRequest* getAllKeys(ScriptState*, const ScriptValue& range, ExceptionStat e&);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 IDBIndexMap m_indexMap; 127 IDBIndexMap m_indexMap;
128 128
129 // Used to mark indexes created in an aborted upgrade transaction as 129 // Used to mark indexes created in an aborted upgrade transaction as
130 // deleted. 130 // deleted.
131 HeapHashSet<Member<IDBIndex>> m_createdIndexes; 131 HeapHashSet<Member<IDBIndex>> m_createdIndexes;
132 }; 132 };
133 133
134 } // namespace blink 134 } // namespace blink
135 135
136 #endif // IDBObjectStore_h 136 #endif // IDBObjectStore_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698