Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5113)

Unified Diff: chrome/browser/apps/drive/drive_app_provider_browsertest.cc

Issue 695753003: app_list: Decouple UpdateDriveApp from sync processing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test attempt 2 Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/apps/drive/drive_app_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/drive/drive_app_provider_browsertest.cc
diff --git a/chrome/browser/apps/drive/drive_app_provider_browsertest.cc b/chrome/browser/apps/drive/drive_app_provider_browsertest.cc
index b38283efb2d2aaabf26ca88924d157325200b4cc..50c9f6e9d100fca103b6e2d8d24fd3f8f96cc6e8 100644
--- a/chrome/browser/apps/drive/drive_app_provider_browsertest.cc
+++ b/chrome/browser/apps/drive/drive_app_provider_browsertest.cc
@@ -567,6 +567,7 @@ IN_PROC_BROWSER_TEST_F(DriveAppProviderTest, UninstallChangedFromSync) {
// Uninstall is added from sync and the app is removed.
provider()->AddUninstalledDriveAppFromSync(kDriveAppId);
+ content::RunAllPendingInMessageLoop();
WaitForPendingDriveAppConverters();
chrome_app_id = mapping()->GetChromeApp(kDriveAppId);
EXPECT_TRUE(chrome_app_id.empty());
@@ -575,6 +576,7 @@ IN_PROC_BROWSER_TEST_F(DriveAppProviderTest, UninstallChangedFromSync) {
// Uninstall is removed from sync and the app is added again.
provider()->RemoveUninstalledDriveAppFromSync(kDriveAppId);
+ content::RunAllPendingInMessageLoop();
WaitForPendingDriveAppConverters();
chrome_app_id = mapping()->GetChromeApp(kDriveAppId);
EXPECT_FALSE(chrome_app_id.empty());
« no previous file with comments | « chrome/browser/apps/drive/drive_app_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698