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

Side by Side Diff: WebCore/workers/WorkerContext.h

Issue 602013: Implement Web Worker access to the SQL database. (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/
Patch Set: '' Created 10 years, 10 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
« no previous file with comments | « WebCore/storage/SQLTransaction.idl ('k') | WebCore/workers/WorkerContext.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, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 #if ENABLE(NOTIFICATIONS) 103 #if ENABLE(NOTIFICATIONS)
104 NotificationCenter* webkitNotifications() const; 104 NotificationCenter* webkitNotifications() const;
105 #endif 105 #endif
106 106
107 #if ENABLE(DATABASE) 107 #if ENABLE(DATABASE)
108 // HTML 5 client-side database 108 // HTML 5 client-side database
109 PassRefPtr<Database> openDatabase(const String& name, const String& vers ion, const String& displayName, unsigned long estimatedSize, ExceptionCode&); 109 PassRefPtr<Database> openDatabase(const String& name, const String& vers ion, const String& displayName, unsigned long estimatedSize, ExceptionCode&);
110 // Not implemented yet. 110 // Not implemented yet.
111 virtual bool isDatabaseReadOnly() const { return false; } 111 virtual bool isDatabaseReadOnly() const { return false; }
112 // Not implemented yet. 112 // Not implemented for real yet.
113 virtual void databaseExceededQuota(const String&) { } 113 virtual void databaseExceededQuota(const String&);
114 #endif 114 #endif
115 virtual bool isContextThread() const; 115 virtual bool isContextThread() const;
116 116
117 117
118 // These methods are used for GC marking. See JSWorkerContext::markChild ren(MarkStack&) in 118 // These methods are used for GC marking. See JSWorkerContext::markChild ren(MarkStack&) in
119 // JSWorkerContextCustom.cpp. 119 // JSWorkerContextCustom.cpp.
120 WorkerNavigator* optionalNavigator() const { return m_navigator.get(); } 120 WorkerNavigator* optionalNavigator() const { return m_navigator.get(); }
121 WorkerLocation* optionalLocation() const { return m_location.get(); } 121 WorkerLocation* optionalLocation() const { return m_location.get(); }
122 122
123 using RefCounted<WorkerContext>::ref; 123 using RefCounted<WorkerContext>::ref;
(...skipping 30 matching lines...) Expand all
154 #endif 154 #endif
155 bool m_closing; 155 bool m_closing;
156 EventTargetData m_eventTargetData; 156 EventTargetData m_eventTargetData;
157 }; 157 };
158 158
159 } // namespace WebCore 159 } // namespace WebCore
160 160
161 #endif // ENABLE(WORKERS) 161 #endif // ENABLE(WORKERS)
162 162
163 #endif // WorkerContext_h 163 #endif // WorkerContext_h
OLDNEW
« no previous file with comments | « WebCore/storage/SQLTransaction.idl ('k') | WebCore/workers/WorkerContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698