| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_database_callbacks_impl.h" | 5 #include "content/child/indexed_db/indexed_db_database_callbacks_impl.h" |
| 6 | 6 |
| 7 #include "base/threading/thread_task_runner_handle.h" |
| 7 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 8 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
| 8 #include "content/child/indexed_db/indexed_db_key_builders.h" | 9 #include "content/child/indexed_db/indexed_db_key_builders.h" |
| 9 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCal
lbacks.h" | 10 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCal
lbacks.h" |
| 10 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseErr
or.h" | 11 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseErr
or.h" |
| 11 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBObservation
.h" | 12 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBObservation
.h" |
| 12 | 13 |
| 13 using blink::WebIDBDatabaseCallbacks; | 14 using blink::WebIDBDatabaseCallbacks; |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 | 17 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 } | 93 } |
| 93 | 94 |
| 94 void IndexedDBDatabaseCallbacksImpl::Changes( | 95 void IndexedDBDatabaseCallbacksImpl::Changes( |
| 95 indexed_db::mojom::ObserverChangesPtr changes) { | 96 indexed_db::mojom::ObserverChangesPtr changes) { |
| 96 callback_runner_->PostTask(FROM_HERE, base::Bind(&BuildObservationsAndNotify, | 97 callback_runner_->PostTask(FROM_HERE, base::Bind(&BuildObservationsAndNotify, |
| 97 base::Unretained(callbacks_), | 98 base::Unretained(callbacks_), |
| 98 base::Passed(&changes))); | 99 base::Passed(&changes))); |
| 99 } | 100 } |
| 100 | 101 |
| 101 } // namespace content | 102 } // namespace content |
| OLD | NEW |