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

Side by Side Diff: Source/modules/indexeddb/IDBIndex.h

Issue 466813003: Cleanup namespace usage in Source/core/modules/[battery/* to indexeddb/*] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/modules/indexeddb/IDBDatabase.h ('k') | Source/modules/indexeddb/IDBObjectStore.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 IDBRequest* openCursor(ScriptState*, const ScriptValue& key, const String& d irection, ExceptionState&); 62 IDBRequest* openCursor(ScriptState*, const ScriptValue& key, const String& d irection, ExceptionState&);
63 IDBRequest* openKeyCursor(ScriptState*, const ScriptValue& range, const Stri ng& direction, ExceptionState&); 63 IDBRequest* openKeyCursor(ScriptState*, const ScriptValue& range, const Stri ng& direction, ExceptionState&);
64 IDBRequest* count(ScriptState*, const ScriptValue& range, ExceptionState&); 64 IDBRequest* count(ScriptState*, const ScriptValue& range, ExceptionState&);
65 IDBRequest* get(ScriptState*, const ScriptValue& key, ExceptionState&); 65 IDBRequest* get(ScriptState*, const ScriptValue& key, ExceptionState&);
66 IDBRequest* getKey(ScriptState*, const ScriptValue& key, ExceptionState&); 66 IDBRequest* getKey(ScriptState*, const ScriptValue& key, ExceptionState&);
67 67
68 void markDeleted() { m_deleted = true; } 68 void markDeleted() { m_deleted = true; }
69 bool isDeleted() const; 69 bool isDeleted() const;
70 70
71 // Used internally and by InspectorIndexedDBAgent: 71 // Used internally and by InspectorIndexedDBAgent:
72 IDBRequest* openCursor(ScriptState*, IDBKeyRange*, blink::WebIDBCursorDirect ion); 72 IDBRequest* openCursor(ScriptState*, IDBKeyRange*, WebIDBCursorDirection);
73 73
74 blink::WebIDBDatabase* backendDB() const; 74 WebIDBDatabase* backendDB() const;
75 75
76 private: 76 private:
77 IDBIndex(const IDBIndexMetadata&, IDBObjectStore*, IDBTransaction*); 77 IDBIndex(const IDBIndexMetadata&, IDBObjectStore*, IDBTransaction*);
78 78
79 IDBRequest* getInternal(ScriptState*, const ScriptValue& key, ExceptionState &, bool keyOnly); 79 IDBRequest* getInternal(ScriptState*, const ScriptValue& key, ExceptionState &, bool keyOnly);
80 80
81 IDBIndexMetadata m_metadata; 81 IDBIndexMetadata m_metadata;
82 Member<IDBObjectStore> m_objectStore; 82 Member<IDBObjectStore> m_objectStore;
83 Member<IDBTransaction> m_transaction; 83 Member<IDBTransaction> m_transaction;
84 bool m_deleted; 84 bool m_deleted;
85 }; 85 };
86 86
87 } // namespace blink 87 } // namespace blink
88 88
89 #endif // IDBIndex_h 89 #endif // IDBIndex_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBDatabase.h ('k') | Source/modules/indexeddb/IDBObjectStore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698