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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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) 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 CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // The various IndexedDBCallbacks children call these methods to add the 53 // The various IndexedDBCallbacks children call these methods to add the
54 // results into the applicable map. See below for more details. 54 // results into the applicable map. See below for more details.
55 int32 Add(WebKit::WebIDBCursor* idb_cursor); 55 int32 Add(WebKit::WebIDBCursor* idb_cursor);
56 int32 Add(WebKit::WebIDBDatabase* idb_database); 56 int32 Add(WebKit::WebIDBDatabase* idb_database);
57 int32 Add(WebKit::WebIDBIndex* idb_index); 57 int32 Add(WebKit::WebIDBIndex* idb_index);
58 int32 Add(WebKit::WebIDBObjectStore* idb_object_store); 58 int32 Add(WebKit::WebIDBObjectStore* idb_object_store);
59 int32 Add(WebKit::WebIDBTransaction* idb_transaction); 59 int32 Add(WebKit::WebIDBTransaction* idb_transaction);
60 60
61 private: 61 private:
62 ~IndexedDBDispatcherHost(); 62 virtual ~IndexedDBDispatcherHost();
63 63
64 // Message processing. Most of the work is delegated to the dispatcher hosts 64 // Message processing. Most of the work is delegated to the dispatcher hosts
65 // below. 65 // below.
66 void OnIDBFactoryOpen(const IndexedDBHostMsg_FactoryOpen_Params& p); 66 void OnIDBFactoryOpen(const IndexedDBHostMsg_FactoryOpen_Params& p);
67 67
68 void OnIDBFactoryDeleteDatabase( 68 void OnIDBFactoryDeleteDatabase(
69 const IndexedDBHostMsg_FactoryDeleteDatabase_Params& p); 69 const IndexedDBHostMsg_FactoryDeleteDatabase_Params& p);
70 70
71 // Helper templates. 71 // Helper templates.
72 template <class ReturnType> 72 template <class ReturnType>
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_; 262 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_;
263 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_; 263 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_;
264 264
265 // Used to dispatch messages to the correct view host. 265 // Used to dispatch messages to the correct view host.
266 int process_id_; 266 int process_id_;
267 267
268 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); 268 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost);
269 }; 269 };
270 270
271 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 271 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/dom_storage_message_filter.h ('k') | content/browser/mime_registry_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698