| 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_key_utility_client.h" | 5 #include "content/browser/in_process_webkit/indexed_db_key_utility_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
| 9 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
| 10 #include "content/browser/utility_process_host_impl.h" | 10 #include "content/browser/utility_process_host_impl.h" |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 void KeyUtilityClientImpl::Client::OnInjectIDBKeyFinished( | 399 void KeyUtilityClientImpl::Client::OnInjectIDBKeyFinished( |
| 400 const SerializedScriptValue& value) { | 400 const SerializedScriptValue& value) { |
| 401 parent_->SetValueAfterInjection(value); | 401 parent_->SetValueAfterInjection(value); |
| 402 parent_->FinishInjectingKey(); | 402 parent_->FinishInjectingKey(); |
| 403 } | 403 } |
| 404 | 404 |
| 405 void KeyUtilityClientImpl::Client::OnIDBKeysFromValuesAndKeyPathFailed( | 405 void KeyUtilityClientImpl::Client::OnIDBKeysFromValuesAndKeyPathFailed( |
| 406 int id) { | 406 int id) { |
| 407 parent_->FinishCreatingKeys(); | 407 parent_->FinishCreatingKeys(); |
| 408 } | 408 } |
| OLD | NEW |