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

Side by Side Diff: content/browser/renderer_host/database_message_filter.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months 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
OLDNEW
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/containers/hash_tables.h" 8 #include "base/containers/hash_tables.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/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 "storage/browser/database/database_tracker.h"
12 #include "webkit/common/database/database_connections.h" 12 #include "storage/common/database/database_connections.h"
13 #include "webkit/common/quota/quota_types.h" 13 #include "storage/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,
19 public webkit_database::DatabaseTracker::Observer { 19 public webkit_database::DatabaseTracker::Observer {
20 public: 20 public:
21 explicit DatabaseMessageFilter(webkit_database::DatabaseTracker* db_tracker); 21 explicit DatabaseMessageFilter(webkit_database::DatabaseTracker* db_tracker);
22 22
23 // BrowserMessageFilter implementation. 23 // BrowserMessageFilter implementation.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // to DatabaseTracker. 92 // to DatabaseTracker.
93 bool observer_added_; 93 bool observer_added_;
94 94
95 // Keeps track of all DB connections opened by this renderer 95 // Keeps track of all DB connections opened by this renderer
96 webkit_database::DatabaseConnections database_connections_; 96 webkit_database::DatabaseConnections database_connections_;
97 }; 97 };
98 98
99 } // namespace content 99 } // namespace content
100 100
101 #endif // CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ 101 #endif // CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/quota_dispatcher_host.cc ('k') | content/browser/renderer_host/database_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698