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

Side by Side Diff: webkit/support/simple_database_system.h

Issue 8510036: Take 2, base::Bind cleanup in SimpleDatabaseSystem (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « no previous file | webkit/support/simple_database_system.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_SUPPORT_SIMPLE_DATABASE_SYSTEM_H_ 5 #ifndef WEBKIT_SUPPORT_SIMPLE_DATABASE_SYSTEM_H_
6 #define WEBKIT_SUPPORT_SIMPLE_DATABASE_SYSTEM_H_ 6 #define WEBKIT_SUPPORT_SIMPLE_DATABASE_SYSTEM_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/platform_file.h" 11 #include "base/platform_file.h"
12 #include "base/scoped_temp_dir.h" 12 #include "base/scoped_temp_dir.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/task.h"
16 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabaseObserver.h " 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabaseObserver.h "
18 #include "webkit/database/database_connections.h" 17 #include "webkit/database/database_connections.h"
19 #include "webkit/database/database_tracker.h" 18 #include "webkit/database/database_tracker.h"
20 19
21 namespace base { 20 namespace base {
22 class MessageLoopProxy; 21 class MessageLoopProxy;
23 class WaitableEvent; 22 class WaitableEvent;
24 } 23 }
25 24
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 scoped_refptr<base::MessageLoopProxy> db_thread_proxy_; 93 scoped_refptr<base::MessageLoopProxy> db_thread_proxy_;
95 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; 94 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
96 int64 quota_per_origin_; 95 int64 quota_per_origin_;
97 96
98 // Data members to support waiting for all connections to be closed. 97 // Data members to support waiting for all connections to be closed.
99 scoped_refptr<webkit_database::DatabaseConnectionsWrapper> open_connections_; 98 scoped_refptr<webkit_database::DatabaseConnectionsWrapper> open_connections_;
100 99
101 static SimpleDatabaseSystem* instance_; 100 static SimpleDatabaseSystem* instance_;
102 }; 101 };
103 102
104 DISABLE_RUNNABLE_METHOD_REFCOUNT(SimpleDatabaseSystem);
105
106 #endif // WEBKIT_SUPPORT_SIMPLE_DATABASE_SYSTEM_H_ 103 #endif // WEBKIT_SUPPORT_SIMPLE_DATABASE_SYSTEM_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/support/simple_database_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698