OLD | NEW |
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/memory/scoped_temp_dir.h" | |
12 #include "base/platform_file.h" | 11 #include "base/platform_file.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" | 15 #include "base/task.h" |
16 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabaseObserver.h
" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabaseObserver.h
" |
18 #include "webkit/database/database_connections.h" | 18 #include "webkit/database/database_connections.h" |
19 #include "webkit/database/database_tracker.h" | 19 #include "webkit/database/database_tracker.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class MessageLoopProxy; | 22 class MessageLoopProxy; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 // Data members to support waiting for all connections to be closed. | 95 // Data members to support waiting for all connections to be closed. |
96 scoped_refptr<webkit_database::DatabaseConnectionsWrapper> open_connections_; | 96 scoped_refptr<webkit_database::DatabaseConnectionsWrapper> open_connections_; |
97 | 97 |
98 static SimpleDatabaseSystem* instance_; | 98 static SimpleDatabaseSystem* instance_; |
99 }; | 99 }; |
100 | 100 |
101 DISABLE_RUNNABLE_METHOD_REFCOUNT(SimpleDatabaseSystem); | 101 DISABLE_RUNNABLE_METHOD_REFCOUNT(SimpleDatabaseSystem); |
102 | 102 |
103 #endif // WEBKIT_SUPPORT_SIMPLE_DATABASE_SYSTEM_H_ | 103 #endif // WEBKIT_SUPPORT_SIMPLE_DATABASE_SYSTEM_H_ |
OLD | NEW |