Fix BrowserTestWithProfileShortcutManager.WindowProperties.
commit668b96f33d697a4ea53468684917b9f98f1c0aba
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 6 May 2014 07:34:23 +0000 (6 07:34 +0000)
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 6 May 2014 07:34:23 +0000 (6 07:34 +0000)
tree5f20accc6d2c21e3e6a6f17d46a701bfe536a945
parent6a0d7247da72982abaf39f0d82d0ea5b4bb76cc7
Fix BrowserTestWithProfileShortcutManager.WindowProperties.

This CL fixes the broken WindowProperties test by more rigidly ordering
operations on different threads. Specifically, the icon creation and
subsequent profile pref were racing against the validation checks which
caused failures.

BUG=332628

Review URL: https://codereview.chromium.org/251253002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268460 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc