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

Side by Side Diff: chrome/common/extensions/manifest_handlers/linked_app_icons.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/common/extensions/manifest_handlers/linked_app_icons.h" 5 #include "chrome/common/extensions/manifest_handlers/linked_app_icons.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "extensions/common/manifest.h" 10 #include "extensions/common/manifest.h"
(...skipping 19 matching lines...) Expand all
30 30
31 LinkedAppIcons::IconInfo::IconInfo() { 31 LinkedAppIcons::IconInfo::IconInfo() {
32 } 32 }
33 33
34 LinkedAppIcons::IconInfo::~IconInfo() { 34 LinkedAppIcons::IconInfo::~IconInfo() {
35 } 35 }
36 36
37 LinkedAppIcons::LinkedAppIcons() { 37 LinkedAppIcons::LinkedAppIcons() {
38 } 38 }
39 39
40 LinkedAppIcons::LinkedAppIcons(const LinkedAppIcons& other) = default;
41
40 LinkedAppIcons::~LinkedAppIcons() { 42 LinkedAppIcons::~LinkedAppIcons() {
41 } 43 }
42 44
43 // static 45 // static
44 const LinkedAppIcons& LinkedAppIcons::GetLinkedAppIcons( 46 const LinkedAppIcons& LinkedAppIcons::GetLinkedAppIcons(
45 const Extension* extension) { 47 const Extension* extension) {
46 return GetInfo(extension); 48 return GetInfo(extension);
47 } 49 }
48 50
49 LinkedAppIconsHandler::LinkedAppIconsHandler() { 51 LinkedAppIconsHandler::LinkedAppIconsHandler() {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 101
100 extension->SetManifestData(keys::kLinkedAppIcons, linked_app_icons.release()); 102 extension->SetManifestData(keys::kLinkedAppIcons, linked_app_icons.release());
101 return true; 103 return true;
102 } 104 }
103 105
104 const std::vector<std::string> LinkedAppIconsHandler::Keys() const { 106 const std::vector<std::string> LinkedAppIconsHandler::Keys() const {
105 return SingleKey(keys::kLinkedAppIcons); 107 return SingleKey(keys::kLinkedAppIcons);
106 } 108 }
107 109
108 } // namespace extensions 110 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698