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

Side by Side Diff: Source/modules/webdatabase/SQLTransactionClient.cpp

Issue 17080003: Get rid of modules/webdatabase/chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "modules/webdatabase/SQLTransactionClient.h" 32 #include "modules/webdatabase/SQLTransactionClient.h"
33 33
34 #include "core/dom/ScriptExecutionContext.h" 34 #include "core/dom/ScriptExecutionContext.h"
35 #include "modules/webdatabase/DatabaseBackendBase.h" 35 #include "modules/webdatabase/DatabaseBackendBase.h"
36 #include "modules/webdatabase/DatabaseBackendContext.h" 36 #include "modules/webdatabase/DatabaseBackendContext.h"
37 #include "modules/webdatabase/chromium/DatabaseObserver.h" 37 #include "modules/webdatabase/DatabaseObserver.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class NotifyDatabaseChangedTask : public ScriptExecutionContext::Task { 41 class NotifyDatabaseChangedTask : public ScriptExecutionContext::Task {
42 public: 42 public:
43 static PassOwnPtr<NotifyDatabaseChangedTask> create(DatabaseBackendBase *dat abase) 43 static PassOwnPtr<NotifyDatabaseChangedTask> create(DatabaseBackendBase *dat abase)
44 { 44 {
45 return adoptPtr(new NotifyDatabaseChangedTask(database)); 45 return adoptPtr(new NotifyDatabaseChangedTask(database));
46 } 46 }
47 47
(...skipping 24 matching lines...) Expand all
72 72
73 bool SQLTransactionClient::didExceedQuota(DatabaseBackendBase* database) 73 bool SQLTransactionClient::didExceedQuota(DatabaseBackendBase* database)
74 { 74 {
75 // Chromium does not allow users to manually change the quota for an origin (for now, at least). 75 // Chromium does not allow users to manually change the quota for an origin (for now, at least).
76 // Don't do anything. 76 // Don't do anything.
77 ASSERT(database->databaseContext()->scriptExecutionContext()->isContextThrea d()); 77 ASSERT(database->databaseContext()->scriptExecutionContext()->isContextThrea d());
78 return false; 78 return false;
79 } 79 }
80 80
81 } 81 }
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/QuotaTracker.cpp ('k') | Source/modules/webdatabase/chromium/DatabaseObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698