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

Side by Side Diff: Source/modules/indexeddb/IDBRequest.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 51
52 class IDBRequest : public ScriptWrappable, public IDBCallbacks, public EventTarg et, public ActiveDOMObject { 52 class IDBRequest : public ScriptWrappable, public IDBCallbacks, public EventTarg et, public ActiveDOMObject {
53 DEFINE_SELF_HANDLE(IDBRequest) 53 DEFINE_SELF_HANDLE(IDBRequest)
54 public: 54 public:
55 static IDBRequest* create(ScriptExecutionContext*, PassRefPtr<IDBAny> source , IDBTransaction*); 55 static IDBRequest* create(ScriptExecutionContext*, PassRefPtr<IDBAny> source , IDBTransaction*);
56 static IDBRequest* create(ScriptExecutionContext*, PassRefPtr<IDBAny> source , IDBDatabaseBackendInterface::TaskType, IDBTransaction*); 56 static IDBRequest* create(ScriptExecutionContext*, PassRefPtr<IDBAny> source , IDBDatabaseBackendInterface::TaskType, IDBTransaction*);
57 virtual ~IDBRequest(); 57 virtual ~IDBRequest();
58 58
59 virtual void trace(Visitor* visitor) OVERRIDE; 59 virtual void trace(Visitor* visitor) OVERRIDE;
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 PassRefPtr<IDBAny> result(ExceptionCode&) const; 66 PassRefPtr<IDBAny> result(ExceptionCode&) const;
67 unsigned short errorCode(ExceptionCode&) const; 67 unsigned short errorCode(ExceptionCode&) const;
68 PassRefPtr<DOMError> error(ExceptionCode&) const; 68 PassRefPtr<DOMError> error(ExceptionCode&) const;
69 String webkitErrorMessage(ExceptionCode&) const; 69 String webkitErrorMessage(ExceptionCode&) const;
70 PassRefPtr<IDBAny> source() const; 70 PassRefPtr<IDBAny> source() const;
71 PassRefPtr<IDBTransaction> transaction() const; 71 PassRefPtr<IDBTransaction> transaction() const;
72 void preventPropagation() { m_preventPropagation = true; } 72 void preventPropagation() { m_preventPropagation = true; }
73 73
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 bool m_didFireUpgradeNeededEvent; 163 bool m_didFireUpgradeNeededEvent;
164 bool m_preventPropagation; 164 bool m_preventPropagation;
165 165
166 EventTargetData m_eventTargetData; 166 EventTargetData m_eventTargetData;
167 DOMRequestState m_requestState; 167 DOMRequestState m_requestState;
168 }; 168 };
169 169
170 } // namespace WebCore 170 } // namespace WebCore
171 171
172 #endif // IDBRequest_h 172 #endif // IDBRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698