OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include "base/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "content/public/browser/browser_message_filter.h" | 10 #include "content/public/browser/browser_message_filter.h" |
11 #include "webkit/browser/database/database_tracker.h" | 11 #include "webkit/browser/database/database_tracker.h" |
12 #include "webkit/common/database/database_connections.h" | 12 #include "webkit/common/database/database_connections.h" |
13 #include "webkit/common/quota/quota_types.h" | 13 #include "webkit/common/quota/quota_types.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class DatabaseMessageFilter | 17 class DatabaseMessageFilter |
18 : public BrowserMessageFilter, | 18 : public BrowserMessageFilter, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // to DatabaseTracker. | 93 // to DatabaseTracker. |
94 bool observer_added_; | 94 bool observer_added_; |
95 | 95 |
96 // Keeps track of all DB connections opened by this renderer | 96 // Keeps track of all DB connections opened by this renderer |
97 webkit_database::DatabaseConnections database_connections_; | 97 webkit_database::DatabaseConnections database_connections_; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace content | 100 } // namespace content |
101 | 101 |
102 #endif // CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ | 102 #endif // CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ |
OLD | NEW |