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

Unified Diff: chrome/browser/chromeos/note_taking_helper_unittest.cc

Issue 2695113004: Split IsArcPlayStoreEnabled() and ArcSessionManager's enabled concepts. (Closed)
Patch Set: Address comments Created 3 years, 10 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/chromeos/arc/arc_session_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/note_taking_helper_unittest.cc
diff --git a/chrome/browser/chromeos/note_taking_helper_unittest.cc b/chrome/browser/chromeos/note_taking_helper_unittest.cc
index d6d12b1fcd80878b5d2e072685e1c4c1e5c2baae..86480d71ab6d4e1fae98277b9253af8c5e01146a 100644
--- a/chrome/browser/chromeos/note_taking_helper_unittest.cc
+++ b/chrome/browser/chromeos/note_taking_helper_unittest.cc
@@ -644,15 +644,15 @@ TEST_F(NoteTakingHelperTest, NotifyObserverAboutAndroidApps) {
EXPECT_EQ(2, observer.num_updates());
profile()->GetPrefs()->SetBoolean(prefs::kArcEnabled, true);
EXPECT_EQ(3, observer.num_updates());
+ // Run ARC data removing operation.
base::RunLoop().RunUntilIdle();
- EXPECT_EQ(4, observer.num_updates());
// Update intent filters and check that the observer is notified again after
// apps are received.
helper()->OnIntentFiltersUpdated();
- EXPECT_EQ(4, observer.num_updates());
+ EXPECT_EQ(3, observer.num_updates());
base::RunLoop().RunUntilIdle();
- EXPECT_EQ(5, observer.num_updates());
+ EXPECT_EQ(4, observer.num_updates());
}
TEST_F(NoteTakingHelperTest, NotifyObserverAboutChromeApps) {
« no previous file with comments | « chrome/browser/chromeos/arc/arc_session_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698