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

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

Issue 933823002: Avoid large inlined automatic methods in IndexedDB code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more CONTENT_EXPORT Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_value.h" 5 #include "content/browser/indexed_db/indexed_db_value.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 IndexedDBValue::IndexedDBValue() {} 11 IndexedDBValue::IndexedDBValue() = default;
12 IndexedDBValue::IndexedDBValue( 12 IndexedDBValue::IndexedDBValue(
13 const std::string& input_bits, 13 const std::string& input_bits,
14 const std::vector<IndexedDBBlobInfo>& input_blob_info) 14 const std::vector<IndexedDBBlobInfo>& input_blob_info)
15 : bits(input_bits), blob_info(input_blob_info) { 15 : bits(input_bits), blob_info(input_blob_info) {
16 DCHECK(!input_blob_info.size() || input_bits.size()); 16 DCHECK(!input_blob_info.size() || input_bits.size());
17 } 17 }
18 IndexedDBValue::~IndexedDBValue() {} 18 IndexedDBValue::IndexedDBValue(const IndexedDBValue& other) = default;
19 IndexedDBValue::~IndexedDBValue() = default;
20 IndexedDBValue& IndexedDBValue::operator=(const IndexedDBValue& other) =
21 default;
19 22
20 } // namespace content 23 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_value.h ('k') | content/common/indexed_db/indexed_db_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698