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

Side by Side Diff: chrome/browser/extensions/extension_service_test_base.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 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 base::FilePath profile_path; 51 base::FilePath profile_path;
52 base::FilePath pref_file; 52 base::FilePath pref_file;
53 base::FilePath extensions_install_dir; 53 base::FilePath extensions_install_dir;
54 bool autoupdate_enabled; // defaults to false. 54 bool autoupdate_enabled; // defaults to false.
55 bool is_first_run; // defaults to true. 55 bool is_first_run; // defaults to true.
56 bool profile_is_supervised; // defaults to false. 56 bool profile_is_supervised; // defaults to false.
57 57
58 // Though you could use this constructor, you probably want to use 58 // Though you could use this constructor, you probably want to use
59 // CreateDefaultInitParams(), and then make a change or two. 59 // CreateDefaultInitParams(), and then make a change or two.
60 ExtensionServiceInitParams(); 60 ExtensionServiceInitParams();
61 ExtensionServiceInitParams(const ExtensionServiceInitParams& other);
61 }; 62 };
62 63
63 // Public because parameterized test cases need it to be, or else the compiler 64 // Public because parameterized test cases need it to be, or else the compiler
64 // barfs. 65 // barfs.
65 static void SetUpTestCase(); // faux-verride (static override). 66 static void SetUpTestCase(); // faux-verride (static override).
66 67
67 protected: 68 protected:
68 ExtensionServiceTestBase(); 69 ExtensionServiceTestBase();
69 ~ExtensionServiceTestBase() override; 70 ~ExtensionServiceTestBase() override;
70 71
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 chromeos::ScopedTestCrosSettings test_cros_settings_; 171 chromeos::ScopedTestCrosSettings test_cros_settings_;
171 chromeos::ScopedTestUserManager test_user_manager_; 172 chromeos::ScopedTestUserManager test_user_manager_;
172 #endif 173 #endif
173 174
174 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestBase); 175 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestBase);
175 }; 176 };
176 177
177 } // namespace extensions 178 } // namespace extensions
178 179
179 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_ 180 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698