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

Unified Diff: Source/modules/webdatabase/DatabaseThread.h

Issue 219963019: Revert r170536 - "Rename DatabaseTaskSynchronizer to TaskSynchronizer ..." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webdatabase/DatabaseTask.cpp ('k') | Source/modules/webdatabase/DatabaseThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseThread.h
diff --git a/Source/modules/webdatabase/DatabaseThread.h b/Source/modules/webdatabase/DatabaseThread.h
index ce97c438e68f4c65d7d796f502d1441052abdc34..416c101ec7936d98af85cf79eddd19bc465f0a3c 100644
--- a/Source/modules/webdatabase/DatabaseThread.h
+++ b/Source/modules/webdatabase/DatabaseThread.h
@@ -44,12 +44,12 @@ namespace WebCore {
class DatabaseBackend;
class DatabaseTask;
+class DatabaseTaskSynchronizer;
class Document;
class MessageLoopInterruptor;
class PendingGCRunner;
class SQLTransactionClient;
class SQLTransactionCoordinator;
-class TaskSynchronizer;
class DatabaseThread : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<DatabaseThread> {
public:
@@ -58,8 +58,8 @@ public:
void trace(Visitor*);
void start();
- void requestTermination(TaskSynchronizer* cleanupSync);
- bool terminationRequested(TaskSynchronizer* = 0) const;
+ void requestTermination(DatabaseTaskSynchronizer* cleanupSync);
+ bool terminationRequested(DatabaseTaskSynchronizer* taskSynchronizer = 0) const;
void scheduleTask(PassOwnPtr<DatabaseTask>);
@@ -88,7 +88,7 @@ private:
OwnPtr<SQLTransactionClient> m_transactionClient;
OwnPtrWillBeMember<SQLTransactionCoordinator> m_transactionCoordinator;
- TaskSynchronizer* m_cleanupSync;
+ DatabaseTaskSynchronizer* m_cleanupSync;
mutable Mutex m_terminationRequestedMutex;
bool m_terminationRequested;
« no previous file with comments | « Source/modules/webdatabase/DatabaseTask.cpp ('k') | Source/modules/webdatabase/DatabaseThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698