OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/child/indexed_db/indexed_db_dispatcher.h" | 5 #include "content/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/child/child_thread.h" |
11 #include "content/child/indexed_db/proxy_webidbcursor_impl.h" | 12 #include "content/child/indexed_db/proxy_webidbcursor_impl.h" |
12 #include "content/child/indexed_db/proxy_webidbdatabase_impl.h" | 13 #include "content/child/indexed_db/proxy_webidbdatabase_impl.h" |
13 #include "content/common/child_thread.h" | |
14 #include "content/common/indexed_db/indexed_db_messages.h" | 14 #include "content/common/indexed_db/indexed_db_messages.h" |
15 #include "ipc/ipc_channel.h" | 15 #include "ipc/ipc_channel.h" |
16 #include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h" | 16 #include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h" |
17 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" | 17 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" |
18 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" | 18 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" |
19 #include "third_party/WebKit/public/platform/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; |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 int32 ipc_exception_cursor_id) { | 704 int32 ipc_exception_cursor_id) { |
705 typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator; | 705 typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator; |
706 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) { | 706 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) { |
707 if (i->first == ipc_exception_cursor_id) | 707 if (i->first == ipc_exception_cursor_id) |
708 continue; | 708 continue; |
709 i->second->ResetPrefetchCache(); | 709 i->second->ResetPrefetchCache(); |
710 } | 710 } |
711 } | 711 } |
712 | 712 |
713 } // namespace content | 713 } // namespace content |
OLD | NEW |