summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/browser_window_gtk.cc
diff options
context:
space:
mode:
authorrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 20:30:46 +0000
committerrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 20:30:46 +0000
commit01eca4a3d31c0302fcbdba1913361ab5dbeec716 (patch)
treeb9839e6eea798ee62d8b62e727b77515c4b30667 /chrome/browser/ui/gtk/browser_window_gtk.cc
parent74b9c00389e9e59d0d3cfa48429e1378fde066a4 (diff)
downloadchromium_src-01eca4a3d31c0302fcbdba1913361ab5dbeec716.zip
chromium_src-01eca4a3d31c0302fcbdba1913361ab5dbeec716.tar.gz
chromium_src-01eca4a3d31c0302fcbdba1913361ab5dbeec716.tar.bz2
Wait for ProfileSyncService to be initialized on browser restart
The pyauto test sync.SyncTest.testRestartBrowser was flaky because, on browser restart, the ProfileSyncService was sometimes in the middle of being initialized when the test began its wait for sync completion. This patch adds a check to make sure the sync service is initialized, that will also wait for initialization. It also adds an extra check to the sync.SyncTest.testRestartBrowser test case to make sure that updates_received is 0 if a browser is restarted and nothing has changed at the server end. BUG=78677, 78548, 78863 TEST=pyauto test sync.SyncTest.testRestartBrowser Review URL: http://codereview.chromium.org/6825023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81146 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/gtk/browser_window_gtk.cc')
0 files changed, 0 insertions, 0 deletions