commit | c04ae907bf92d9d657113ebea32fc296ac972ad7 | [log] [tgz] |
---|---|---|
author | Ramin Halavati <[email protected]> | Mon Jan 11 12:52:41 2021 |
committer | Chromium LUCI CQ <[email protected]> | Mon Jan 11 12:52:41 2021 |
tree | f9ef6f4594dc042f9cd65c7ab353f6c862692bcf | |
parent | 4b48896af548cd0e170b59dd458301e2cc04f7bb [diff] [blame] |
Remove duplicate 'Browser' in Browser creation functions. |Browser* GetOrCreateBrowser()| is renamed to |GetOrCreate|. |Browser::BrowserCreationStatus| is renamed to |Browser::CreationStatus| |Browser::GetBrowserCreationStatus()| is renamed to |Browser::GetCreationStatus()|. This CL does not change any behavior. Bug: 1162794 Change-Id: I14ce77c85153f746e1d1e70fcb66f5e83beb62ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617779 Reviewed-by: David Roger <[email protected]> Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Ramin Halavati <[email protected]> Cr-Commit-Position: refs/heads/master@{#842005}
diff --git a/chrome/browser/ui/browser_navigator_browsertest_chromeos.cc b/chrome/browser/ui/browser_navigator_browsertest_chromeos.cc index 18c1ce2..a3216802 100644 --- a/chrome/browser/ui/browser_navigator_browsertest_chromeos.cc +++ b/chrome/browser/ui/browser_navigator_browsertest_chromeos.cc
@@ -86,8 +86,8 @@ IN_PROC_BROWSER_TEST_F(BrowserNavigatorTestChromeOS, RestrictSigninProfile) { EXPECT_EQ(chrome::GetTotalBrowserCount(), 1u); - EXPECT_EQ(Browser::BrowserCreationStatus::kErrorProfileUnsuitable, - Browser::GetBrowserCreationStatusForProfile( + EXPECT_EQ(Browser::CreationStatus::kErrorProfileUnsuitable, + Browser::GetCreationStatusForProfile( chromeos::ProfileHelper::GetSigninProfile())); }