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

Side by Side Diff: chrome/browser/prefs/session_startup_pref.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, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/prefs/session_startup_pref.h" 5 #include "chrome/browser/prefs/session_startup_pref.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 SessionStartupPref::Type SessionStartupPref::PrefValueToType(int pref_value) { 145 SessionStartupPref::Type SessionStartupPref::PrefValueToType(int pref_value) {
146 switch (pref_value) { 146 switch (pref_value) {
147 case kPrefValueLast: return SessionStartupPref::LAST; 147 case kPrefValueLast: return SessionStartupPref::LAST;
148 case kPrefValueURLs: return SessionStartupPref::URLS; 148 case kPrefValueURLs: return SessionStartupPref::URLS;
149 default: return SessionStartupPref::DEFAULT; 149 default: return SessionStartupPref::DEFAULT;
150 } 150 }
151 } 151 }
152 152
153 SessionStartupPref::SessionStartupPref(Type type) : type(type) {} 153 SessionStartupPref::SessionStartupPref(Type type) : type(type) {}
154 154
155 SessionStartupPref::SessionStartupPref(const SessionStartupPref& other) =
156 default;
157
155 SessionStartupPref::~SessionStartupPref() {} 158 SessionStartupPref::~SessionStartupPref() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698