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/in_process_webkit/indexed_db_dispatcher_host.h" | 5 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "content/public/common/content_switches.h" | 24 #include "content/public/common/content_switches.h" |
25 #include "content/public/common/result_codes.h" | 25 #include "content/public/common/result_codes.h" |
26 #include "googleurl/src/gurl.h" | 26 #include "googleurl/src/gurl.h" |
27 #include "third_party/WebKit/public/platform/WebData.h" | 27 #include "third_party/WebKit/public/platform/WebData.h" |
28 #include "third_party/WebKit/public/platform/WebIDBDatabase.h" | 28 #include "third_party/WebKit/public/platform/WebIDBDatabase.h" |
29 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" | 29 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" |
30 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" | 30 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" |
31 #include "third_party/WebKit/public/platform/WebIDBMetadata.h" | 31 #include "third_party/WebKit/public/platform/WebIDBMetadata.h" |
32 #include "third_party/WebKit/public/platform/WebString.h" | 32 #include "third_party/WebKit/public/platform/WebString.h" |
33 #include "third_party/WebKit/public/platform/WebVector.h" | 33 #include "third_party/WebKit/public/platform/WebVector.h" |
34 #include "webkit/base/file_path_string_conversions.h" | 34 #include "webkit/common/base/file_path_string_conversions.h" |
35 #include "webkit/base/origin_url_conversions.h" | 35 #include "webkit/common/base/origin_url_conversions.h" |
36 #include "webkit/browser/database/database_util.h" | 36 #include "webkit/browser/database/database_util.h" |
37 | 37 |
38 using webkit_database::DatabaseUtil; | 38 using webkit_database::DatabaseUtil; |
39 using WebKit::WebData; | 39 using WebKit::WebData; |
40 using WebKit::WebIDBDatabaseError; | 40 using WebKit::WebIDBDatabaseError; |
41 using WebKit::WebIDBKey; | 41 using WebKit::WebIDBKey; |
42 using WebKit::WebIDBMetadata; | 42 using WebKit::WebIDBMetadata; |
43 using WebKit::WebString; | 43 using WebKit::WebString; |
44 using WebKit::WebVector; | 44 using WebKit::WebVector; |
45 | 45 |
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 | 816 |
817 idb_cursor->prefetchReset(used_prefetches, unused_prefetches); | 817 idb_cursor->prefetchReset(used_prefetches, unused_prefetches); |
818 } | 818 } |
819 | 819 |
820 void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed( | 820 void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed( |
821 int32 ipc_object_id) { | 821 int32 ipc_object_id) { |
822 parent_->DestroyObject(&map_, ipc_object_id); | 822 parent_->DestroyObject(&map_, ipc_object_id); |
823 } | 823 } |
824 | 824 |
825 } // namespace content | 825 } // namespace content |
OLD | NEW |