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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Fix typo Created 7 years 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 | Annotate | Revision Log
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class IDBTransaction : public RefCountedGarbageCollected<IDBTransaction>, public ScriptWrappable, public EventTarget, public ActiveDOMObject { 51 class IDBTransaction : public RefCountedGarbageCollected<IDBTransaction>, public ScriptWrappable, public EventTarget, public ActiveDOMObject {
52 DECLARE_GC_INFO 52 DECLARE_GC_INFO
53 DEFINE_SELF_HANDLE(IDBTransaction) 53 DEFINE_SELF_HANDLE(IDBTransaction)
54 public: 54 public:
55 static PassRefPtr<IDBTransaction> create(ScriptExecutionContext*, int64_t, c onst Vector<String>& objectStoreNames, IndexedDB::TransactionMode, IDBDatabase*) ; 55 static PassRefPtr<IDBTransaction> create(ScriptExecutionContext*, int64_t, c onst Vector<String>& objectStoreNames, IndexedDB::TransactionMode, IDBDatabase*) ;
56 static PassRefPtr<IDBTransaction> create(ScriptExecutionContext*, int64_t, I DBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata& previousMetadata); 56 static PassRefPtr<IDBTransaction> create(ScriptExecutionContext*, int64_t, I DBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata& previousMetadata);
57 virtual ~IDBTransaction(); 57 virtual ~IDBTransaction();
58 58
59 virtual void trace(Visitor*); 59 virtual void trace(Visitor*);
60 60
61 virtual void visitWith(Visitor* visitor) const OVERRIDE 61 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
62 { 62 {
63 visitor->visit(this); 63 visitor->mark(this);
64 } 64 }
65 65
66 static const AtomicString& modeReadOnly(); 66 static const AtomicString& modeReadOnly();
67 static const AtomicString& modeReadWrite(); 67 static const AtomicString& modeReadWrite();
68 static const AtomicString& modeVersionChange(); 68 static const AtomicString& modeVersionChange();
69 static const AtomicString& modeReadOnlyLegacy(); 69 static const AtomicString& modeReadOnlyLegacy();
70 static const AtomicString& modeReadWriteLegacy(); 70 static const AtomicString& modeReadWriteLegacy();
71 71
72 static IndexedDB::TransactionMode stringToMode(const String&, ExceptionCode& ); 72 static IndexedDB::TransactionMode stringToMode(const String&, ExceptionCode& );
73 static const AtomicString& modeToString(IndexedDB::TransactionMode); 73 static const AtomicString& modeToString(IndexedDB::TransactionMode);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 IDBDatabaseMetadata m_previousMetadata; 171 IDBDatabaseMetadata m_previousMetadata;
172 172
173 HashSet<IDBCursor*> m_openCursors; 173 HashSet<IDBCursor*> m_openCursors;
174 174
175 EventTargetData m_eventTargetData; 175 EventTargetData m_eventTargetData;
176 }; 176 };
177 177
178 } // namespace WebCore 178 } // namespace WebCore
179 179
180 #endif // IDBTransaction_h 180 #endif // IDBTransaction_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698