| 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/indexed_db/indexed_db_index_writer.h" | 5 #include "content/browser/indexed_db/indexed_db_index_writer.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "content/browser/indexed_db/indexed_db_backing_store.h" | 9 #include "content/browser/indexed_db/indexed_db_backing_store.h" |
| 10 #include "content/browser/indexed_db/indexed_db_tracing.h" | 10 #include "content/browser/indexed_db/indexed_db_tracing.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 object_store.id, | 153 object_store.id, |
| 154 index.id, | 154 index.id, |
| 155 &can_add_keys, | 155 &can_add_keys, |
| 156 primary_key, | 156 primary_key, |
| 157 error_message); | 157 error_message); |
| 158 if (!backing_store_success) | 158 if (!backing_store_success) |
| 159 return false; | 159 return false; |
| 160 if (!can_add_keys) | 160 if (!can_add_keys) |
| 161 return true; | 161 return true; |
| 162 | 162 |
| 163 index_writers->push_back(index_writer.release()); | 163 index_writers->push_back(index_writer.Pass()); |
| 164 } | 164 } |
| 165 | 165 |
| 166 *completed = true; | 166 *completed = true; |
| 167 return true; | 167 return true; |
| 168 } | 168 } |
| 169 | 169 |
| 170 } // namespace content | 170 } // namespace content |
| OLD | NEW |