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

Side by Side Diff: content/child/web_database_observer_impl.h

Issue 74043003: Followup cleanup for WebDatabaseObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | content/renderer/renderer_webkitplatformsupport_impl.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_WEB_DATABASE_OBSERVER_IMPL_H_ 5 #ifndef CONTENT_CHILD_WEB_DATABASE_OBSERVER_IMPL_H_
6 #define CONTENT_CHILD_WEB_DATABASE_OBSERVER_IMPL_H_ 6 #define CONTENT_CHILD_WEB_DATABASE_OBSERVER_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "ipc/ipc_sync_message_filter.h" 9 #include "ipc/ipc_sync_message_filter.h"
10 #include "third_party/WebKit/public/platform/WebPlatformDatabaseObserver.h" 10 #include "third_party/WebKit/public/platform/WebDatabaseObserver.h"
11 #include "webkit/common/database/database_connections.h" 11 #include "webkit/common/database/database_connections.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // TODO(kinuko): WebPlatformDatabaseObserver should be renamed to 15 class WebDatabaseObserverImpl : public blink::WebDatabaseObserver {
16 // WebDatabaseObserver once non-platform one is deprecated.
17 class WebDatabaseObserverImpl : public blink::WebPlatformDatabaseObserver {
18 public: 16 public:
19 explicit WebDatabaseObserverImpl(IPC::SyncMessageFilter* sender); 17 explicit WebDatabaseObserverImpl(IPC::SyncMessageFilter* sender);
20 virtual ~WebDatabaseObserverImpl(); 18 virtual ~WebDatabaseObserverImpl();
21 19
22 virtual void databaseOpened( 20 virtual void databaseOpened(
23 const blink::WebString& origin_identifier, 21 const blink::WebString& origin_identifier,
24 const blink::WebString& database_name, 22 const blink::WebString& database_name,
25 const blink::WebString& database_display_name, 23 const blink::WebString& database_display_name,
26 unsigned long estimated_size); 24 unsigned long estimated_size);
27 virtual void databaseModified( 25 virtual void databaseModified(
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 68
71 scoped_refptr<IPC::SyncMessageFilter> sender_; 69 scoped_refptr<IPC::SyncMessageFilter> sender_;
72 scoped_refptr<webkit_database::DatabaseConnectionsWrapper> open_connections_; 70 scoped_refptr<webkit_database::DatabaseConnectionsWrapper> open_connections_;
73 71
74 DISALLOW_COPY_AND_ASSIGN(WebDatabaseObserverImpl); 72 DISALLOW_COPY_AND_ASSIGN(WebDatabaseObserverImpl);
75 }; 73 };
76 74
77 } // namespace content 75 } // namespace content
78 76
79 #endif // CONTENT_CHILD_WEB_DATABASE_OBSERVER_IMPL_H_ 77 #endif // CONTENT_CHILD_WEB_DATABASE_OBSERVER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/renderer_webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698