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

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

Issue 415293002: Current host warning "Read and modify your data .." should say "Read and change your data .." to ma… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a typo in a test 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
« no previous file with comments | « no previous file | chrome/common/extensions/permissions/permission_set_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0da448ff6c0a25daaa088b82673d5278033697fe 100644
--- a/chrome/common/extensions/manifest_handlers/automation_unittest.cc
+++ b/chrome/common/extensions/manifest_handlers/automation_unittest.cc
@@ -50,7 +50,7 @@ TEST_F(AutomationManifestTest, AsBooleanTrue) {
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",
+ EXPECT_EQ("Read and change your data on www.google.com",
base::UTF16ToUTF8(warnings[0]));
const AutomationInfo* info = AutomationInfo::Get(extension.get());
@@ -69,7 +69,7 @@ TEST_F(AutomationManifestTest, InteractTrue) {
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",
+ EXPECT_EQ("Read and change your data on www.google.com",
base::UTF16ToUTF8(warnings[0]));
const AutomationInfo* info = AutomationInfo::Get(extension.get());
@@ -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 and change your data on www.google.com and www.twitter.com",
base::UTF16ToUTF8(warnings[0]));
const AutomationInfo* info = AutomationInfo::Get(extension.get());
@@ -120,9 +120,9 @@ TEST_F(AutomationManifestTest, MatchesAndPermissions) {
std::vector<base::string16> warnings =
extension->permissions_data()->GetPermissionMessageStrings();
ASSERT_EQ(2u, warnings.size());
- EXPECT_EQ("Read and modify your data on www.google.com",
+ EXPECT_EQ("Read and change your data on www.google.com",
base::UTF16ToUTF8(warnings[0]));
- EXPECT_EQ("Read and modify your data on www.twitter.com",
+ EXPECT_EQ("Read and change your data on www.twitter.com",
base::UTF16ToUTF8(warnings[1]));
const AutomationInfo* info = AutomationInfo::Get(extension.get());
@@ -190,7 +190,7 @@ TEST_F(AutomationManifestTest, DesktopFalse) {
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",
+ EXPECT_EQ("Read and change your data on www.google.com",
base::UTF16ToUTF8(warnings[0]));
const AutomationInfo* info = AutomationInfo::Get(extension.get());
« no previous file with comments | « no previous file | chrome/common/extensions/permissions/permission_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698