Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: chrome/browser/in_process_webkit/indexed_db_key_utility_client.cc

Issue 4678002: IndexedDB: Keep the utility process open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/in_process_webkit/browser_webkitclient_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // source code is governed by a BSD-style license that can be found in the 2 // Use of this source code is governed by a BSD-style license that can be
3 // LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/in_process_webkit/indexed_db_key_utility_client.h" 5 #include "chrome/browser/in_process_webkit/indexed_db_key_utility_client.h"
6 6
7 #include "chrome/browser/browser_process.h" 7 #include "chrome/browser/browser_process.h"
8 #include "chrome/common/indexed_db_key.h" 8 #include "chrome/common/indexed_db_key.h"
9 #include "chrome/common/notification_service.h" 9 #include "chrome/common/notification_service.h"
10 #include "chrome/common/serialized_script_value.h" 10 #include "chrome/common/serialized_script_value.h"
11 11
12 IndexedDBKeyUtilityClient::IndexedDBKeyUtilityClient() 12 IndexedDBKeyUtilityClient::IndexedDBKeyUtilityClient()
13 : waitable_event_(false, false), 13 : waitable_event_(false, false),
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void IndexedDBKeyUtilityClient::Client::OnIDBKeysFromValuesAndKeyPathSucceeded( 156 void IndexedDBKeyUtilityClient::Client::OnIDBKeysFromValuesAndKeyPathSucceeded(
157 int id, const std::vector<IndexedDBKey>& keys) { 157 int id, const std::vector<IndexedDBKey>& keys) {
158 parent_->SetKeys(keys); 158 parent_->SetKeys(keys);
159 parent_->FinishCreatingKeys(); 159 parent_->FinishCreatingKeys();
160 } 160 }
161 161
162 void IndexedDBKeyUtilityClient::Client::OnIDBKeysFromValuesAndKeyPathFailed( 162 void IndexedDBKeyUtilityClient::Client::OnIDBKeysFromValuesAndKeyPathFailed(
163 int id) { 163 int id) {
164 parent_->FinishCreatingKeys(); 164 parent_->FinishCreatingKeys();
165 } 165 }
OLDNEW
« no previous file with comments | « chrome/browser/in_process_webkit/browser_webkitclient_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698