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

Unified Diff: chrome/common/extensions/manifest_handlers/automation_unittest.cc

Issue 410023002: Show read-only messages for non-interact non-desktop Automation extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 5 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
Index: chrome/common/extensions/manifest_handlers/automation_unittest.cc
diff --git a/chrome/common/extensions/manifest_handlers/automation_unittest.cc b/chrome/common/extensions/manifest_handlers/automation_unittest.cc
index 3c4f32ed35082a740a811b0ee2cc4bdfb78e6d06..df7a96919f337fe2ebea7ad3672d407389fa45c3 100644
--- a/chrome/common/extensions/manifest_handlers/automation_unittest.cc
+++ b/chrome/common/extensions/manifest_handlers/automation_unittest.cc
@@ -93,7 +93,7 @@ TEST_F(AutomationManifestTest, Matches) {
std::vector<base::string16> warnings =
extension->permissions_data()->GetPermissionMessageStrings();
ASSERT_EQ(1u, warnings.size());
- EXPECT_EQ("Read and modify your data on www.google.com and www.twitter.com",
+ EXPECT_EQ("Read your data on www.google.com and www.twitter.com",
base::UTF16ToUTF8(warnings[0]));
const AutomationInfo* info = AutomationInfo::Get(extension.get());
@@ -122,7 +122,7 @@ TEST_F(AutomationManifestTest, MatchesAndPermissions) {
ASSERT_EQ(2u, warnings.size());
EXPECT_EQ("Read and modify your data on www.google.com",
base::UTF16ToUTF8(warnings[0]));
- EXPECT_EQ("Read and modify your data on www.twitter.com",
+ EXPECT_EQ("Read your data on www.twitter.com",
base::UTF16ToUTF8(warnings[1]));
const AutomationInfo* info = AutomationInfo::Get(extension.get());

Powered by Google App Engine
This is Rietveld 408576698