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

Side by Side Diff: chrome/test/chromedriver/capabilities.h

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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_
6 #define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 14 matching lines...) Expand all
25 class CommandLine; 25 class CommandLine;
26 class DictionaryValue; 26 class DictionaryValue;
27 } 27 }
28 28
29 class Status; 29 class Status;
30 30
31 class Switches { 31 class Switches {
32 public: 32 public:
33 typedef base::FilePath::StringType NativeString; 33 typedef base::FilePath::StringType NativeString;
34 Switches(); 34 Switches();
35 Switches(const Switches& other);
35 ~Switches(); 36 ~Switches();
36 37
37 void SetSwitch(const std::string& name); 38 void SetSwitch(const std::string& name);
38 void SetSwitch(const std::string& name, const std::string& value); 39 void SetSwitch(const std::string& name, const std::string& value);
39 void SetSwitch(const std::string& name, const base::string16& value); 40 void SetSwitch(const std::string& name, const base::string16& value);
40 void SetSwitch(const std::string& name, const base::FilePath& value); 41 void SetSwitch(const std::string& name, const base::FilePath& value);
41 42
42 // In case of same key, |switches| will override. 43 // In case of same key, |switches| will override.
43 void SetFromSwitches(const Switches& switches); 44 void SetFromSwitches(const Switches& switches);
44 45
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 PerfLoggingPrefs perf_logging_prefs; 145 PerfLoggingPrefs perf_logging_prefs;
145 146
146 scoped_ptr<base::DictionaryValue> prefs; 147 scoped_ptr<base::DictionaryValue> prefs;
147 148
148 Switches switches; 149 Switches switches;
149 150
150 std::set<WebViewInfo::Type> window_types; 151 std::set<WebViewInfo::Type> window_types;
151 }; 152 };
152 153
153 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ 154 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698