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

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

Issue 501183003: Remove implicit conversions from scoped_refptr to T* in content/browser/indexed_db/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 (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_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 61 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
62 virtual void OnChannelClosing() OVERRIDE; 62 virtual void OnChannelClosing() OVERRIDE;
63 virtual void OnDestruct() const OVERRIDE; 63 virtual void OnDestruct() const OVERRIDE;
64 virtual base::TaskRunner* OverrideTaskRunnerForMessage( 64 virtual base::TaskRunner* OverrideTaskRunnerForMessage(
65 const IPC::Message& message) OVERRIDE; 65 const IPC::Message& message) OVERRIDE;
66 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 66 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
67 67
68 void FinishTransaction(int64 host_transaction_id, bool committed); 68 void FinishTransaction(int64 host_transaction_id, bool committed);
69 69
70 // A shortcut for accessing our context. 70 // A shortcut for accessing our context.
71 IndexedDBContextImpl* Context() { return indexed_db_context_; } 71 IndexedDBContextImpl* Context() { return indexed_db_context_.get(); }
72 storage::BlobStorageContext* blob_storage_context() const { 72 storage::BlobStorageContext* blob_storage_context() const {
73 return blob_storage_context_->context(); 73 return blob_storage_context_->context();
74 } 74 }
75 75
76 // IndexedDBCallbacks call these methods to add the results into the 76 // IndexedDBCallbacks call these methods to add the results into the
77 // applicable map. See below for more details. 77 // applicable map. See below for more details.
78 int32 Add(IndexedDBCursor* cursor); 78 int32 Add(IndexedDBCursor* cursor);
79 int32 Add(IndexedDBConnection* connection, 79 int32 Add(IndexedDBConnection* connection,
80 int32 ipc_thread_id, 80 int32 ipc_thread_id,
81 const GURL& origin_url); 81 const GURL& origin_url);
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 277
278 // Used to set file permissions for blob storage. 278 // Used to set file permissions for blob storage.
279 int ipc_process_id_; 279 int ipc_process_id_;
280 280
281 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); 281 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost);
282 }; 282 };
283 283
284 } // namespace content 284 } // namespace content
285 285
286 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ 286 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_unittest.cc ('k') | content/browser/indexed_db/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698