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

Side by Side Diff: content/child/indexed_db/indexed_db_dispatcher.h

Issue 630743005: Replace OVERRIDE and FINAL with override and final in content/child/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // wants to use ThreadSpecificInstance(). 53 // wants to use ThreadSpecificInstance().
54 explicit IndexedDBDispatcher(ThreadSafeSender* thread_safe_sender); 54 explicit IndexedDBDispatcher(ThreadSafeSender* thread_safe_sender);
55 virtual ~IndexedDBDispatcher(); 55 virtual ~IndexedDBDispatcher();
56 56
57 // |thread_safe_sender| needs to be passed in because if the call leads to 57 // |thread_safe_sender| needs to be passed in because if the call leads to
58 // construction it will be needed. 58 // construction it will be needed.
59 static IndexedDBDispatcher* ThreadSpecificInstance( 59 static IndexedDBDispatcher* ThreadSpecificInstance(
60 ThreadSafeSender* thread_safe_sender); 60 ThreadSafeSender* thread_safe_sender);
61 61
62 // WorkerTaskRunner::Observer implementation. 62 // WorkerTaskRunner::Observer implementation.
63 virtual void OnWorkerRunLoopStopped() OVERRIDE; 63 virtual void OnWorkerRunLoopStopped() override;
64 64
65 static blink::WebIDBMetadata ConvertMetadata( 65 static blink::WebIDBMetadata ConvertMetadata(
66 const IndexedDBDatabaseMetadata& idb_metadata); 66 const IndexedDBDatabaseMetadata& idb_metadata);
67 67
68 void OnMessageReceived(const IPC::Message& msg); 68 void OnMessageReceived(const IPC::Message& msg);
69 69
70 // This method is virtual so it can be overridden in unit tests. 70 // This method is virtual so it can be overridden in unit tests.
71 virtual bool Send(IPC::Message* msg); 71 virtual bool Send(IPC::Message* msg);
72 72
73 void RequestIDBFactoryGetDatabaseNames( 73 void RequestIDBFactoryGetDatabaseNames(
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 std::map<int32, WebIDBCursorImpl*> cursors_; 259 std::map<int32, WebIDBCursorImpl*> cursors_;
260 260
261 std::map<int32, WebIDBDatabaseImpl*> databases_; 261 std::map<int32, WebIDBDatabaseImpl*> databases_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 263 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
264 }; 264 };
265 265
266 } // namespace content 266 } // namespace content
267 267
268 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 268 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/geofencing/geofencing_message_filter.h ('k') | content/child/indexed_db/indexed_db_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698