| OLD | NEW |
| 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 ChromeBlobStorageContext* blob_storage_context); | 50 ChromeBlobStorageContext* blob_storage_context); |
| 51 IndexedDBDispatcherHost(int ipc_process_id, | 51 IndexedDBDispatcherHost(int ipc_process_id, |
| 52 net::URLRequestContext* request_context, | 52 net::URLRequestContext* request_context, |
| 53 IndexedDBContextImpl* indexed_db_context, | 53 IndexedDBContextImpl* indexed_db_context, |
| 54 ChromeBlobStorageContext* blob_storage_context); | 54 ChromeBlobStorageContext* blob_storage_context); |
| 55 | 55 |
| 56 static ::IndexedDBDatabaseMetadata ConvertMetadata( | 56 static ::IndexedDBDatabaseMetadata ConvertMetadata( |
| 57 const content::IndexedDBDatabaseMetadata& metadata); | 57 const content::IndexedDBDatabaseMetadata& metadata); |
| 58 | 58 |
| 59 // BrowserMessageFilter implementation. | 59 // BrowserMessageFilter implementation. |
| 60 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; | 60 virtual void OnSenderConnected() OVERRIDE; |
| 61 virtual void OnChannelClosing() OVERRIDE; | 61 virtual void OnSenderClosing() OVERRIDE; |
| 62 virtual void OnDestruct() const OVERRIDE; | 62 virtual void OnDestruct() const OVERRIDE; |
| 63 virtual base::TaskRunner* OverrideTaskRunnerForMessage( | 63 virtual base::TaskRunner* OverrideTaskRunnerForMessage( |
| 64 const IPC::Message& message) OVERRIDE; | 64 const IPC::Message& message) OVERRIDE; |
| 65 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 65 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 66 | 66 |
| 67 void FinishTransaction(int64 host_transaction_id, bool committed); | 67 void FinishTransaction(int64 host_transaction_id, bool committed); |
| 68 | 68 |
| 69 // A shortcut for accessing our context. | 69 // A shortcut for accessing our context. |
| 70 IndexedDBContextImpl* Context() { return indexed_db_context_; } | 70 IndexedDBContextImpl* Context() { return indexed_db_context_; } |
| 71 webkit_blob::BlobStorageContext* blob_storage_context() const { | 71 webkit_blob::BlobStorageContext* blob_storage_context() const { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 278 |
| 279 // Used to set file permissions for blob storage. | 279 // Used to set file permissions for blob storage. |
| 280 int ipc_process_id_; | 280 int ipc_process_id_; |
| 281 | 281 |
| 282 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); | 282 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); |
| 283 }; | 283 }; |
| 284 | 284 |
| 285 } // namespace content | 285 } // namespace content |
| 286 | 286 |
| 287 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ | 287 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ |
| OLD | NEW |