| Index: chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
|
| diff --git a/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc b/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
|
| index 06c93da7cf6115b0023ad9499aa3c67b976e6e02..04f82835b790b4040417afa2e39df62353811cdd 100644
|
| --- a/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
|
| +++ b/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
|
| @@ -12,7 +12,7 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service_mock.h"
|
| -#include "chrome/common/chrome_version_info.h"
|
| +#include "chrome/common/channel_info.h"
|
| #include "chrome/test/base/chrome_render_view_host_test_harness.h"
|
| #include "chrome/test/base/testing_pref_service_syncable.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| @@ -24,6 +24,7 @@
|
| #include "components/password_manager/core/common/credential_manager_types.h"
|
| #include "components/password_manager/core/common/password_manager_pref_names.h"
|
| #include "components/password_manager/core/common/password_manager_switches.h"
|
| +#include "components/version_info/version_info.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/test/mock_render_process_host.h"
|
| @@ -219,7 +220,7 @@ TEST_F(ChromePasswordManagerClientTest,
|
| IsAutomaticPasswordSavingEnabledWhenFlagIsSetTest) {
|
| base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| password_manager::switches::kEnableAutomaticPasswordSaving);
|
| - if (chrome::VersionInfo::GetChannel() == version_info::Channel::UNKNOWN)
|
| + if (chrome::GetChannel() == version_info::Channel::UNKNOWN)
|
| EXPECT_TRUE(GetClient()->IsAutomaticPasswordSavingEnabled());
|
| else
|
| EXPECT_FALSE(GetClient()->IsAutomaticPasswordSavingEnabled());
|
|
|