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

Side by Side Diff: chrome/browser/extensions/install_signer.cc

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chrome/browser/extensions/install_signer.h" 5 #include "chrome/browser/extensions/install_signer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } 153 }
154 return true; 154 return true;
155 } 155 }
156 156
157 } // namespace 157 } // namespace
158 158
159 namespace extensions { 159 namespace extensions {
160 160
161 InstallSignature::InstallSignature() { 161 InstallSignature::InstallSignature() {
162 } 162 }
163 InstallSignature::InstallSignature(const InstallSignature& other) = default;
163 InstallSignature::~InstallSignature() { 164 InstallSignature::~InstallSignature() {
164 } 165 }
165 166
166 void InstallSignature::ToValue(base::DictionaryValue* value) const { 167 void InstallSignature::ToValue(base::DictionaryValue* value) const {
167 CHECK(value); 168 CHECK(value);
168 169
169 value->SetInteger(kSignatureFormatVersionKey, kSignatureFormatVersion); 170 value->SetInteger(kSignatureFormatVersionKey, kSignatureFormatVersion);
170 SetExtensionIdSet(value, kIdsKey, ids); 171 SetExtensionIdSet(value, kIdsKey, ids);
171 SetExtensionIdSet(value, kInvalidIdsKey, invalid_ids); 172 SetExtensionIdSet(value, kInvalidIdsKey, invalid_ids);
172 value->SetString(kExpireDateKey, expire_date); 173 value->SetString(kExpireDateKey, expire_date);
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 if (!verified) 507 if (!verified)
507 result.reset(); 508 result.reset();
508 } 509 }
509 510
510 if (!callback_.is_null()) 511 if (!callback_.is_null())
511 callback_.Run(std::move(result)); 512 callback_.Run(std::move(result));
512 } 513 }
513 514
514 515
515 } // namespace extensions 516 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698