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

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

Issue 78053006: [oilpan] Move IDBDatabase, IDBDatabaseCallbacks, IDBDatabaseBackendInterface and other related clas… (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: 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
« no previous file with comments | « Source/modules/indexeddb/IDBOpenDBRequest.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 namespace WebCore { 46 namespace WebCore {
47 47
48 class IDBTransaction; 48 class IDBTransaction;
49 49
50 typedef int ExceptionCode; 50 typedef int ExceptionCode;
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 PassRefPtr<IDBRequest> create(ScriptExecutionContext*, PassRefPtr<IDB Any> source, IDBTransaction*); 55 static IDBRequest* create(ScriptExecutionContext*, PassRefPtr<IDBAny> source , IDBTransaction*);
56 static PassRefPtr<IDBRequest> create(ScriptExecutionContext*, PassRefPtr<IDB Any> 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 {
61 IDBCallbacks::trace(visitor);
62 }
63 60
64 virtual void visitWith(Visitor* visitor) const OVERRIDE 61 virtual void visitWith(Visitor* visitor) const OVERRIDE
65 { 62 {
66 visitor->visit(this); 63 visitor->visit(this);
67 } 64 }
68 65
69 PassRefPtr<IDBAny> result(ExceptionCode&) const; 66 PassRefPtr<IDBAny> result(ExceptionCode&) const;
70 unsigned short errorCode(ExceptionCode&) const; 67 unsigned short errorCode(ExceptionCode&) const;
71 PassRefPtr<DOMError> error(ExceptionCode&) const; 68 PassRefPtr<DOMError> error(ExceptionCode&) const;
72 String webkitErrorMessage(ExceptionCode&) const; 69 String webkitErrorMessage(ExceptionCode&) const;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 bool m_didFireUpgradeNeededEvent; 163 bool m_didFireUpgradeNeededEvent;
167 bool m_preventPropagation; 164 bool m_preventPropagation;
168 165
169 EventTargetData m_eventTargetData; 166 EventTargetData m_eventTargetData;
170 DOMRequestState m_requestState; 167 DOMRequestState m_requestState;
171 }; 168 };
172 169
173 } // namespace WebCore 170 } // namespace WebCore
174 171
175 #endif // IDBRequest_h 172 #endif // IDBRequest_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBOpenDBRequest.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698