~ubuntu-branches/ubuntu/lucid/webkit/lucid-updates

« back to all changes in this revision

Viewing changes to WebCore/storage/DatabaseTask.h

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2010-02-04 19:30:57 UTC
  • mfrom: (1.2.8 upstream) (4.3.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100204193057-d3018lm1fipb0703
* New upstream release
* debian/copyright:
- Updated with changes since 1.1.19.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
// Can be used to wait until DatabaseTask is completed.
51
51
// Has to be passed into DatabaseTask::create to be associated with the task.
52
52
class DatabaseTaskSynchronizer : public Noncopyable {
53
 
    friend class DatabaseTask;
54
53
public:
55
54
    DatabaseTaskSynchronizer();
56
55
 
57
56
    // Called from main thread to wait until task is completed.
58
57
    void waitForTaskCompletion();
59
58
 
60
 
private:
61
59
    // Called by the task.
62
60
    void taskCompleted();
 
61
private:
63
62
 
64
63
    bool m_taskCompleted;
65
64
    Mutex m_synchronousMutex;