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

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

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 int64_t id() const { return m_id; } 68 int64_t id() const { return m_id; }
69 bool isActive() const { return m_state == Active; } 69 bool isActive() const { return m_state == Active; }
70 bool isFinished() const { return m_state == Finished; } 70 bool isFinished() const { return m_state == Finished; }
71 bool isFinishing() const { return m_state == Finishing; } 71 bool isFinishing() const { return m_state == Finishing; }
72 bool isReadOnly() const { return m_mode == WebIDBTransactionModeReadOnly; } 72 bool isReadOnly() const { return m_mode == WebIDBTransactionModeReadOnly; }
73 bool isVersionChange() const { return m_mode == WebIDBTransactionModeVersion Change; } 73 bool isVersionChange() const { return m_mode == WebIDBTransactionModeVersion Change; }
74 74
75 // Implement the IDBTransaction IDL 75 // Implement the IDBTransaction IDL
76 const String& mode() const; 76 const String& mode() const;
77 PassRefPtrWillBeRawPtr<DOMStringList> objectStoreNames() const; 77 PassRefPtrWillBeRawPtr<DOMStringList> objectStoreNames() const;
78 IDBDatabase* db() const { return m_database.get(); } 78 IDBDatabase* db() const;
79 DOMException* error() const { return m_error; } 79 DOMException* error() const;
80 IDBObjectStore* objectStore(const String& name, ExceptionState&); 80 IDBObjectStore* objectStore(const String& name, ExceptionState&);
81 void abort(ExceptionState&); 81 void abort(ExceptionState&);
82 82
83 void registerRequest(IDBRequest*); 83 void registerRequest(IDBRequest*);
84 void unregisterRequest(IDBRequest*); 84 void unregisterRequest(IDBRequest*);
85 void objectStoreCreated(const String&, IDBObjectStore*); 85 void objectStoreCreated(const String&, IDBObjectStore*);
86 void objectStoreDeleted(const String&); 86 void objectStoreDeleted(const String&);
87 void setActive(bool); 87 void setActive(bool);
88 void setError(DOMException*); 88 void setError(DOMException*);
89 89
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 IDBObjectStoreMap m_objectStoreMap; 134 IDBObjectStoreMap m_objectStoreMap;
135 135
136 HeapHashSet<Member<IDBObjectStore>> m_deletedObjectStores; 136 HeapHashSet<Member<IDBObjectStore>> m_deletedObjectStores;
137 HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> m_objectStoreCle anupMap; 137 HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> m_objectStoreCle anupMap;
138 IDBDatabaseMetadata m_previousMetadata; 138 IDBDatabaseMetadata m_previousMetadata;
139 }; 139 };
140 140
141 } // namespace blink 141 } // namespace blink
142 142
143 #endif // IDBTransaction_h 143 #endif // IDBTransaction_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698