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

Side by Side Diff: Source/WebCore/dom/ScriptExecutionContext.h

Issue 13774005: Remove the ENABLE_SQL_DATABASE compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: python Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/dom/DOMExceptions.in ('k') | Source/WebCore/dom/ScriptExecutionContext.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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2012 Google Inc. All Rights Reserved. 3 * Copyright (C) 2012 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 void adjustMinimumTimerInterval(double oldMinimumTimerInterval); 147 void adjustMinimumTimerInterval(double oldMinimumTimerInterval);
148 virtual double minimumTimerInterval() const; 148 virtual double minimumTimerInterval() const;
149 149
150 void didChangeTimerAlignmentInterval(); 150 void didChangeTimerAlignmentInterval();
151 virtual double timerAlignmentInterval() const; 151 virtual double timerAlignmentInterval() const;
152 152
153 virtual EventQueue* eventQueue() const = 0; 153 virtual EventQueue* eventQueue() const = 0;
154 154
155 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; 155 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
156 156
157 #if ENABLE(SQL_DATABASE)
158 void setDatabaseContext(DatabaseContext*); 157 void setDatabaseContext(DatabaseContext*);
159 #endif
160 158
161 protected: 159 protected:
162 class AddConsoleMessageTask : public Task { 160 class AddConsoleMessageTask : public Task {
163 public: 161 public:
164 static PassOwnPtr<AddConsoleMessageTask> create(MessageSource source, Me ssageLevel level, const String& message) 162 static PassOwnPtr<AddConsoleMessageTask> create(MessageSource source, Me ssageLevel level, const String& message)
165 { 163 {
166 return adoptPtr(new AddConsoleMessageTask(source, level, message)); 164 return adoptPtr(new AddConsoleMessageTask(source, level, message));
167 } 165 }
168 virtual void performTask(ScriptExecutionContext*); 166 virtual void performTask(ScriptExecutionContext*);
169 private: 167 private:
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 OwnPtr<Vector<OwnPtr<PendingException> > > m_pendingExceptions; 205 OwnPtr<Vector<OwnPtr<PendingException> > > m_pendingExceptions;
208 206
209 bool m_activeDOMObjectsAreSuspended; 207 bool m_activeDOMObjectsAreSuspended;
210 ActiveDOMObject::ReasonForSuspension m_reasonForSuspendingActiveDOMObjects; 208 ActiveDOMObject::ReasonForSuspension m_reasonForSuspendingActiveDOMObjects;
211 bool m_activeDOMObjectsAreStopped; 209 bool m_activeDOMObjectsAreStopped;
212 210
213 #if ENABLE(BLOB) 211 #if ENABLE(BLOB)
214 OwnPtr<PublicURLManager> m_publicURLManager; 212 OwnPtr<PublicURLManager> m_publicURLManager;
215 #endif 213 #endif
216 214
217 #if ENABLE(SQL_DATABASE)
218 RefPtr<DatabaseContext> m_databaseContext; 215 RefPtr<DatabaseContext> m_databaseContext;
219 #endif
220 }; 216 };
221 217
222 } // namespace WebCore 218 } // namespace WebCore
223 219
224 #endif // ScriptExecutionContext_h 220 #endif // ScriptExecutionContext_h
OLDNEW
« no previous file with comments | « Source/WebCore/dom/DOMExceptions.in ('k') | Source/WebCore/dom/ScriptExecutionContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698