OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/browser/in_process_webkit/indexed_db_callbacks.h" | 5 #include "content/browser/indexed_db/indexed_db_callbacks.h" |
6 #include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h" | 6 #include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h" |
7 #include "content/browser/indexed_db/indexed_db_cursor.h" | 7 #include "content/browser/indexed_db/indexed_db_cursor.h" |
8 #include "content/browser/indexed_db/indexed_db_metadata.h" | 8 #include "content/browser/indexed_db/indexed_db_metadata.h" |
9 #include "content/browser/indexed_db/webidbcursor_impl.h" | 9 #include "content/browser/indexed_db/webidbcursor_impl.h" |
10 #include "content/browser/indexed_db/webidbdatabase_impl.h" | 10 #include "content/browser/indexed_db/webidbdatabase_impl.h" |
11 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" | 11 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 using WebKit::WebIDBCallbacks; | 15 using WebKit::WebIDBCallbacks; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 127 |
128 callbacks_->onSuccess(impl, metadata); | 128 callbacks_->onSuccess(impl, metadata); |
129 callbacks_.reset(); | 129 callbacks_.reset(); |
130 } | 130 } |
131 | 131 |
132 void IndexedDBCallbacksWrapper::SetDatabaseCallbacks( | 132 void IndexedDBCallbacksWrapper::SetDatabaseCallbacks( |
133 scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks) { | 133 scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks) { |
134 database_callbacks_ = database_callbacks; | 134 database_callbacks_ = database_callbacks; |
135 } | 135 } |
136 } // namespace content | 136 } // namespace content |
OLD | NEW |