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/common_child/indexed_db/indexed_db_dispatcher.h" | 5 #include "content/common_child/indexed_db/indexed_db_dispatcher.h" |
6 | 6 |
7 #include "base/format_macros.h" | 7 #include "base/format_macros.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
10 #include "base/threading/thread_local.h" | 10 #include "base/threading/thread_local.h" |
11 #include "content/common/child_thread.h" | 11 #include "content/common/child_thread.h" |
12 #include "content/common/indexed_db/indexed_db_messages.h" | 12 #include "content/common/indexed_db/indexed_db_messages.h" |
13 #include "content/common_child/indexed_db/proxy_webidbcursor_impl.h" | 13 #include "content/common_child/indexed_db/proxy_webidbcursor_impl.h" |
14 #include "content/common_child/indexed_db/proxy_webidbdatabase_impl.h" | 14 #include "content/common_child/indexed_db/proxy_webidbdatabase_impl.h" |
15 #include "ipc/ipc_channel.h" | 15 #include "ipc/ipc_channel.h" |
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBDatabaseCallb
acks.h" | 16 #include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h" |
17 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBDatabaseError
.h" | 17 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" |
18 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBDatabaseExcep
tion.h" | 18 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" |
19 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBKeyRange.h" | 19 #include "third_party/WebKit/public/platform/WebIDBKeyRange.h" |
20 | 20 |
21 using WebKit::WebData; | 21 using WebKit::WebData; |
22 using WebKit::WebIDBCallbacks; | 22 using WebKit::WebIDBCallbacks; |
23 using WebKit::WebIDBDatabase; | 23 using WebKit::WebIDBDatabase; |
24 using WebKit::WebIDBDatabaseCallbacks; | 24 using WebKit::WebIDBDatabaseCallbacks; |
25 using WebKit::WebIDBDatabaseError; | 25 using WebKit::WebIDBDatabaseError; |
26 using WebKit::WebIDBKey; | 26 using WebKit::WebIDBKey; |
27 using WebKit::WebIDBKeyRange; | 27 using WebKit::WebIDBKeyRange; |
28 using WebKit::WebIDBMetadata; | 28 using WebKit::WebIDBMetadata; |
29 using WebKit::WebString; | 29 using WebKit::WebString; |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 int32 ipc_exception_cursor_id) { | 724 int32 ipc_exception_cursor_id) { |
725 typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator; | 725 typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator; |
726 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) { | 726 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) { |
727 if (i->first == ipc_exception_cursor_id) | 727 if (i->first == ipc_exception_cursor_id) |
728 continue; | 728 continue; |
729 i->second->ResetPrefetchCache(); | 729 i->second->ResetPrefetchCache(); |
730 } | 730 } |
731 } | 731 } |
732 | 732 |
733 } // namespace content | 733 } // namespace content |
OLD | NEW |