Index: chrome/browser/password_manager/password_manager_browsertest.cc |
diff --git a/chrome/browser/password_manager/password_manager_browsertest.cc b/chrome/browser/password_manager/password_manager_browsertest.cc |
index cee06e8e68d9f15ddf227e50ffb08e0a0c25ea34..6dcbcb562cf19aaf62610c75f9b2bece354bcbfa 100644 |
--- a/chrome/browser/password_manager/password_manager_browsertest.cc |
+++ b/chrome/browser/password_manager/password_manager_browsertest.cc |
@@ -22,9 +22,9 @@ |
#include "chrome/browser/ui/login/login_prompt.h" |
#include "chrome/browser/ui/login/login_prompt_test_utils.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
+#include "chrome/common/channel_info.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_switches.h" |
-#include "chrome/common/chrome_version_info.h" |
#include "chrome/test/base/test_switches.h" |
#include "chrome/test/base/ui_test_utils.h" |
#include "components/autofill/content/common/autofill_messages.h" |
@@ -35,6 +35,7 @@ |
#include "components/password_manager/content/browser/content_password_manager_driver_factory.h" |
#include "components/password_manager/core/browser/test_password_store.h" |
#include "components/password_manager/core/common/password_manager_switches.h" |
+#include "components/version_info/version_info.h" |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/render_frame_host.h" |
@@ -1124,8 +1125,7 @@ IN_PROC_BROWSER_TEST_F(PasswordManagerBrowserTestBase, |
"document.getElementById('input_submit_button').click()"; |
ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), fill_and_submit)); |
observer.Wait(); |
- if (chrome::VersionInfo::GetChannel() == |
- version_info::Channel::UNKNOWN) { |
+ if (chrome::GetChannel() == version_info::Channel::UNKNOWN) { |
// Passwords getting auto-saved, no prompt. |
EXPECT_FALSE(prompt_observer->IsShowingPrompt()); |
EXPECT_FALSE(password_store->IsEmpty()); |