summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/default_apps_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/default_apps_unittest.cc')
-rw-r--r--chrome/browser/extensions/default_apps_unittest.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/extensions/default_apps_unittest.cc b/chrome/browser/extensions/default_apps_unittest.cc
index 8037236..24a9d70 100644
--- a/chrome/browser/extensions/default_apps_unittest.cc
+++ b/chrome/browser/extensions/default_apps_unittest.cc
@@ -7,6 +7,8 @@
#include "chrome/test/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
+// TODO(dpolukhin): On Chrome OS all apps are installed via external extensions
+#if !defined(OS_CHROMEOS)
TEST(DefaultApps, Basics) {
TestingPrefService pref_service;
DefaultApps::RegisterUserPrefs(&pref_service);
@@ -59,6 +61,7 @@ TEST(DefaultApps, Basics) {
EXPECT_FALSE(default_apps.ShouldShowPromo(default_app_ids));
EXPECT_EQ(DefaultApps::kAppsPromoCounterMax, default_apps.GetPromoCounter());
}
+#endif // OS_CHROMEOS
TEST(DefaultApps, HidePromo) {
TestingPrefService pref_service;
@@ -97,6 +100,8 @@ TEST(DefaultApps, InstallingAnAppHidesPromo) {
EXPECT_EQ(DefaultApps::kAppsPromoCounterMax, default_apps.GetPromoCounter());
}
+// TODO(dpolukhin): On Chrome OS all apps are installed via external extensions
+#if !defined(OS_CHROMEOS)
TEST(DefaultApps, ManualAppInstalledWhileInstallingDefaultApps) {
// It is possible to have apps manually installed while the default apps are
// being installed. The network or server might be down, causing the default
@@ -131,3 +136,4 @@ TEST(DefaultApps, ManualAppInstalledWhileInstallingDefaultApps) {
EXPECT_FALSE(default_apps.ShouldShowPromo(installed_ids));
EXPECT_EQ(DefaultApps::kAppsPromoCounterMax, default_apps.GetPromoCounter());
}
+#endif // OS_CHROMEOS