OLD | NEW |
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 |
OLD | NEW |