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

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

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback 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 #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/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/process/process.h" 11 #include "base/process/process.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "content/browser/child_process_security_policy_impl.h" 14 #include "content/browser/child_process_security_policy_impl.h"
15 #include "content/browser/indexed_db/indexed_db_callbacks.h" 15 #include "content/browser/indexed_db/indexed_db_callbacks.h"
16 #include "content/browser/indexed_db/indexed_db_connection.h" 16 #include "content/browser/indexed_db/indexed_db_connection.h"
17 #include "content/browser/indexed_db/indexed_db_context_impl.h" 17 #include "content/browser/indexed_db/indexed_db_context_impl.h"
18 #include "content/browser/indexed_db/indexed_db_cursor.h" 18 #include "content/browser/indexed_db/indexed_db_cursor.h"
19 #include "content/browser/indexed_db/indexed_db_database_callbacks.h" 19 #include "content/browser/indexed_db/indexed_db_database_callbacks.h"
20 #include "content/browser/indexed_db/indexed_db_metadata.h" 20 #include "content/browser/indexed_db/indexed_db_metadata.h"
21 #include "content/browser/indexed_db/indexed_db_pending_connection.h" 21 #include "content/browser/indexed_db/indexed_db_pending_connection.h"
22 #include "content/browser/indexed_db/indexed_db_value.h" 22 #include "content/browser/indexed_db/indexed_db_value.h"
23 #include "content/browser/renderer_host/render_message_filter.h" 23 #include "content/browser/renderer_host/render_message_filter.h"
24 #include "content/common/indexed_db/indexed_db_messages.h" 24 #include "content/common/indexed_db/indexed_db_messages.h"
25 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
26 #include "content/public/browser/user_metrics.h" 26 #include "content/public/browser/user_metrics.h"
27 #include "content/public/common/content_switches.h" 27 #include "content/public/common/content_switches.h"
28 #include "content/public/common/result_codes.h" 28 #include "content/public/common/result_codes.h"
29 #include "storage/browser/blob/blob_storage_context.h"
30 #include "storage/browser/database/database_util.h"
29 #include "storage/common/database/database_identifier.h" 31 #include "storage/common/database/database_identifier.h"
30 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" 32 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h"
31 #include "url/gurl.h" 33 #include "url/gurl.h"
32 #include "webkit/browser/blob/blob_storage_context.h"
33 #include "webkit/browser/database/database_util.h"
34 34
35 using storage::DatabaseUtil; 35 using storage::DatabaseUtil;
36 using blink::WebIDBKey; 36 using blink::WebIDBKey;
37 37
38 namespace content { 38 namespace content {
39 39
40 IndexedDBDispatcherHost::IndexedDBDispatcherHost( 40 IndexedDBDispatcherHost::IndexedDBDispatcherHost(
41 int ipc_process_id, 41 int ipc_process_id,
42 net::URLRequestContextGetter* request_context_getter, 42 net::URLRequestContextGetter* request_context_getter,
43 IndexedDBContextImpl* indexed_db_context, 43 IndexedDBContextImpl* indexed_db_context,
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 } 992 }
993 993
994 void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed( 994 void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed(
995 int32 ipc_object_id) { 995 int32 ipc_object_id) {
996 DCHECK( 996 DCHECK(
997 parent_->indexed_db_context_->TaskRunner()->RunsTasksOnCurrentThread()); 997 parent_->indexed_db_context_->TaskRunner()->RunsTasksOnCurrentThread());
998 parent_->DestroyObject(&map_, ipc_object_id); 998 parent_->DestroyObject(&map_, ipc_object_id);
999 } 999 }
1000 1000
1001 } // namespace content 1001 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.h ('k') | content/browser/indexed_db/indexed_db_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698