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

Side by Side Diff: Source/web/DatabaseObserver.cpp

Issue 31483002: Move CrossThreadCopier.cpp/.h to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 2 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/platform/blink_platform.gypi ('k') | Source/web/WorkerAllowMainThreadBridgeBase.h » ('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 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 27 matching lines...) Expand all
38 #include "WebFrameImpl.h" 38 #include "WebFrameImpl.h"
39 #include "WebPermissionClient.h" 39 #include "WebPermissionClient.h"
40 #include "WebSecurityOrigin.h" 40 #include "WebSecurityOrigin.h"
41 #include "WebViewImpl.h" 41 #include "WebViewImpl.h"
42 #include "WebWorkerBase.h" 42 #include "WebWorkerBase.h"
43 #include "WorkerAllowMainThreadBridgeBase.h" 43 #include "WorkerAllowMainThreadBridgeBase.h"
44 #include "bindings/v8/WorkerScriptController.h" 44 #include "bindings/v8/WorkerScriptController.h"
45 #include "core/dom/CrossThreadTask.h" 45 #include "core/dom/CrossThreadTask.h"
46 #include "core/dom/Document.h" 46 #include "core/dom/Document.h"
47 #include "core/dom/ExecutionContext.h" 47 #include "core/dom/ExecutionContext.h"
48 #include "core/platform/CrossThreadCopier.h"
49 #include "core/workers/WorkerGlobalScope.h" 48 #include "core/workers/WorkerGlobalScope.h"
50 #include "core/workers/WorkerLoaderProxy.h" 49 #include "core/workers/WorkerLoaderProxy.h"
51 #include "core/workers/WorkerThread.h" 50 #include "core/workers/WorkerThread.h"
52 #include "modules/webdatabase/DatabaseBackendBase.h" 51 #include "modules/webdatabase/DatabaseBackendBase.h"
53 #include "modules/webdatabase/DatabaseContext.h" 52 #include "modules/webdatabase/DatabaseContext.h"
53 #include "platform/CrossThreadCopier.h"
54 54
55 using namespace WebKit; 55 using namespace WebKit;
56 56
57 namespace { 57 namespace {
58 58
59 static const char allowDatabaseMode[] = "allowDatabaseMode"; 59 static const char allowDatabaseMode[] = "allowDatabaseMode";
60 60
61 // This class is used to route the result of the WebWorkerBase::allowDatabase 61 // This class is used to route the result of the WebWorkerBase::allowDatabase
62 // call back to the worker context. 62 // call back to the worker context.
63 class AllowDatabaseMainThreadBridge : public WorkerAllowMainThreadBridgeBase { 63 class AllowDatabaseMainThreadBridge : public WorkerAllowMainThreadBridgeBase {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 { 196 {
197 WebDatabase::observer()->reportExecuteStatementResult(WebDatabase(database), errorSite, webSqlErrorCode, sqliteErrorCode); 197 WebDatabase::observer()->reportExecuteStatementResult(WebDatabase(database), errorSite, webSqlErrorCode, sqliteErrorCode);
198 } 198 }
199 199
200 void DatabaseObserver::reportVacuumDatabaseResult(DatabaseBackendBase* database, int sqliteErrorCode) 200 void DatabaseObserver::reportVacuumDatabaseResult(DatabaseBackendBase* database, int sqliteErrorCode)
201 { 201 {
202 WebDatabase::observer()->reportVacuumDatabaseResult(WebDatabase(database), s qliteErrorCode); 202 WebDatabase::observer()->reportVacuumDatabaseResult(WebDatabase(database), s qliteErrorCode);
203 } 203 }
204 204
205 } // namespace WebCore 205 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/web/WorkerAllowMainThreadBridgeBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698