| Index: chrome/browser/extensions/crx_installer_browsertest.cc
|
| diff --git a/chrome/browser/extensions/crx_installer_browsertest.cc b/chrome/browser/extensions/crx_installer_browsertest.cc
|
| index 759e2ca014703c9e2829ee3953de2c59614cab30..7fc0707a2be8e9f145fac8b3b18e082b9592dbb9 100644
|
| --- a/chrome/browser/extensions/crx_installer_browsertest.cc
|
| +++ b/chrome/browser/extensions/crx_installer_browsertest.cc
|
| @@ -166,17 +166,18 @@ class ManagementPolicyMock : public extensions::ManagementPolicy::Provider {
|
| // lifetime of this class.
|
| class ScopedExperimentalCommandLine {
|
| public:
|
| - ScopedExperimentalCommandLine() : saved_(*CommandLine::ForCurrentProcess()) {
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(
|
| + ScopedExperimentalCommandLine()
|
| + : saved_(*base::CommandLine::ForCurrentProcess()) {
|
| + base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| switches::kEnableExperimentalExtensionApis);
|
| }
|
|
|
| ~ScopedExperimentalCommandLine() {
|
| - *CommandLine::ForCurrentProcess() = saved_;
|
| + *base::CommandLine::ForCurrentProcess() = saved_;
|
| }
|
|
|
| private:
|
| - CommandLine saved_;
|
| + base::CommandLine saved_;
|
| };
|
|
|
| } // namespace
|
| @@ -555,7 +556,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionCrxInstallerTest, KioskOnlyTest) {
|
| #if defined(OS_CHROMEOS)
|
| IN_PROC_BROWSER_TEST_F(ExtensionCrxInstallerTest, InstallToSharedLocation) {
|
| base::ShadowingAtExitManager at_exit_manager;
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(
|
| + base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| chromeos::switches::kEnableExtensionAssetsSharing);
|
| base::ScopedTempDir cache_dir;
|
| ASSERT_TRUE(cache_dir.CreateUniqueTempDir());
|
|
|