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 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" | 5 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/guid.h" | 10 #include "base/guid.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "content/browser/renderer_host/render_message_filter.h" | 24 #include "content/browser/renderer_host/render_message_filter.h" |
25 #include "content/common/indexed_db/indexed_db_messages.h" | 25 #include "content/common/indexed_db/indexed_db_messages.h" |
26 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
27 #include "content/public/browser/user_metrics.h" | 27 #include "content/public/browser/user_metrics.h" |
28 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
29 #include "content/public/common/result_codes.h" | 29 #include "content/public/common/result_codes.h" |
30 #include "storage/browser/blob/blob_data_builder.h" | 30 #include "storage/browser/blob/blob_data_builder.h" |
31 #include "storage/browser/blob/blob_storage_context.h" | 31 #include "storage/browser/blob/blob_storage_context.h" |
32 #include "storage/browser/database/database_util.h" | 32 #include "storage/browser/database/database_util.h" |
33 #include "storage/common/database/database_identifier.h" | 33 #include "storage/common/database/database_identifier.h" |
34 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" | 34 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseExc
eption.h" |
35 #include "url/gurl.h" | 35 #include "url/gurl.h" |
36 | 36 |
37 using storage::DatabaseUtil; | 37 using storage::DatabaseUtil; |
38 using blink::WebIDBKey; | 38 using blink::WebIDBKey; |
39 | 39 |
40 namespace content { | 40 namespace content { |
41 | 41 |
42 IndexedDBDispatcherHost::IndexedDBDispatcherHost( | 42 IndexedDBDispatcherHost::IndexedDBDispatcherHost( |
43 int ipc_process_id, | 43 int ipc_process_id, |
44 net::URLRequestContextGetter* request_context_getter, | 44 net::URLRequestContextGetter* request_context_getter, |
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 } | 1026 } |
1027 | 1027 |
1028 void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed( | 1028 void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed( |
1029 int32 ipc_object_id) { | 1029 int32 ipc_object_id) { |
1030 DCHECK( | 1030 DCHECK( |
1031 parent_->indexed_db_context_->TaskRunner()->RunsTasksOnCurrentThread()); | 1031 parent_->indexed_db_context_->TaskRunner()->RunsTasksOnCurrentThread()); |
1032 parent_->DestroyObject(&map_, ipc_object_id); | 1032 parent_->DestroyObject(&map_, ipc_object_id); |
1033 } | 1033 } |
1034 | 1034 |
1035 } // namespace content | 1035 } // namespace content |
OLD | NEW |