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

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

Issue 1133153002: Move Indexed DB Blink API headers to public/platform/modules/indexeddb (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 #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
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
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
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.cc ('k') | content/browser/indexed_db/indexed_db_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698