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

Unified Diff: chrome/browser/extensions/permission_message_combinations_unittest.cc

Issue 785723002: Add new extension APIs related to animation policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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/extensions/api/preference/preference_api.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/permission_message_combinations_unittest.cc
diff --git a/chrome/browser/extensions/permission_message_combinations_unittest.cc b/chrome/browser/extensions/permission_message_combinations_unittest.cc
index a10a8954edd3d15088e8635f66a5b846a683524c..8fa89930d46355e0ad8901285be417ac34463bc9 100644
--- a/chrome/browser/extensions/permission_message_combinations_unittest.cc
+++ b/chrome/browser/extensions/permission_message_combinations_unittest.cc
@@ -1165,18 +1165,11 @@ TEST_F(PermissionMessageCombinationsUnittest, PermissionMessageCombos) {
" ]"
"}");
-#ifdef OS_CHROMEOS
ASSERT_TRUE(CheckManifestProducesPermissions(
"Read your browsing history on all your signed-in devices",
"Capture content of your screen", "Read and change your bookmarks",
"Read and change your data on a number of websites",
"Read and change your accessibility settings"));
-#else
- ASSERT_TRUE(CheckManifestProducesPermissions(
- "Read your browsing history on all your signed-in devices",
- "Capture content of your screen", "Read and change your bookmarks",
- "Read and change your data on a number of websites"));
-#endif
ASSERT_TRUE(CheckManifestProducesHostPermissions(
"All go.com sites", "All google.com sites", "All news.com sites",
@@ -1216,14 +1209,9 @@ TEST_F(PermissionMessageCombinationsUnittest, PermissionMessageCombos) {
" ]"
"}");
-#ifdef OS_CHROMEOS
ASSERT_TRUE(CheckManifestProducesPermissions(
"Access your serial devices", "Store data in your Google Drive account",
"Read and change your accessibility settings"));
-#else
- ASSERT_TRUE(CheckManifestProducesPermissions(
- "Access your serial devices", "Store data in your Google Drive account"));
-#endif
ASSERT_TRUE(CheckManifestProducesHostPermissions());
}
« no previous file with comments | « chrome/browser/extensions/api/preference/preference_api.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698