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

Side by Side Diff: content/browser/indexed_db/indexed_db_index_writer.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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
OLDNEW
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 <stddef.h> 7 #include <stddef.h>
8 #include <utility>
8 9
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
11 #include "content/browser/indexed_db/indexed_db_backing_store.h" 12 #include "content/browser/indexed_db/indexed_db_backing_store.h"
12 #include "content/browser/indexed_db/indexed_db_tracing.h" 13 #include "content/browser/indexed_db/indexed_db_tracing.h"
13 #include "content/browser/indexed_db/indexed_db_transaction.h" 14 #include "content/browser/indexed_db/indexed_db_transaction.h"
14 #include "content/common/indexed_db/indexed_db_key.h" 15 #include "content/common/indexed_db/indexed_db_key.h"
15 #include "content/common/indexed_db/indexed_db_key_path.h" 16 #include "content/common/indexed_db/indexed_db_key_path.h"
16 #include "content/common/indexed_db/indexed_db_key_range.h" 17 #include "content/common/indexed_db/indexed_db_key_range.h"
17 18
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 object_store.id, 156 object_store.id,
156 index.id, 157 index.id,
157 &can_add_keys, 158 &can_add_keys,
158 primary_key, 159 primary_key,
159 error_message); 160 error_message);
160 if (!backing_store_success) 161 if (!backing_store_success)
161 return false; 162 return false;
162 if (!can_add_keys) 163 if (!can_add_keys)
163 return true; 164 return true;
164 165
165 index_writers->push_back(index_writer.Pass()); 166 index_writers->push_back(std::move(index_writer));
166 } 167 }
167 168
168 *completed = true; 169 *completed = true;
169 return true; 170 return true;
170 } 171 }
171 172
172 } // namespace content 173 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_unittest.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698