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_COMMON_DATABASE_DATABASE_CONNECTIONS_H_ | 5 #ifndef WEBKIT_COMMON_DATABASE_DATABASE_CONNECTIONS_H_ |
6 #define WEBKIT_COMMON_DATABASE_DATABASE_CONNECTIONS_H_ | 6 #define WEBKIT_COMMON_DATABASE_DATABASE_CONNECTIONS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
14 #include "webkit/storage/webkit_storage_export.h" | 14 #include "webkit/storage/webkit_storage_export.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class MessageLoopProxy; | 17 class MessageLoopProxy; |
18 } | 18 } |
19 | 19 |
20 namespace webkit_database { | 20 namespace webkit_database { |
21 | 21 |
22 class WEBKIT_STORAGE_EXPORT DatabaseConnections { | 22 class WEBKIT_STORAGE_EXPORT DatabaseConnections { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 bool waiting_for_dbs_to_close_; | 90 bool waiting_for_dbs_to_close_; |
91 base::Lock open_connections_lock_; | 91 base::Lock open_connections_lock_; |
92 DatabaseConnections open_connections_; | 92 DatabaseConnections open_connections_; |
93 scoped_refptr<base::MessageLoopProxy> main_thread_; | 93 scoped_refptr<base::MessageLoopProxy> main_thread_; |
94 }; | 94 }; |
95 | 95 |
96 } // namespace webkit_database | 96 } // namespace webkit_database |
97 | 97 |
98 #endif // WEBKIT_COMMON_DATABASE_DATABASE_CONNECTIONS_H_ | 98 #endif // WEBKIT_COMMON_DATABASE_DATABASE_CONNECTIONS_H_ |
OLD | NEW |