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

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

Issue 1063313002: Replace "computer" with "device" in permission warning strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: devices -> device Created 5 years, 8 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/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 7581ff1d42618ca91b4167cdc2b85899086ceaf3..42764bbb8d6599edc7fcdc60a52a03b23c7a354b 100644
--- a/chrome/browser/extensions/permission_message_combinations_unittest.cc
+++ b/chrome/browser/extensions/permission_message_combinations_unittest.cc
@@ -545,7 +545,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with any computer on the local network or internet"));
+ "Exchange data with any device on the local network or internet"));
CreateAndInstall(
"{"
@@ -559,7 +559,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with any computer on the local network or internet"));
+ "Exchange data with any device on the local network or internet"));
CreateAndInstall(
"{"
@@ -573,7 +573,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with the computer named 127.0.0.1"));
+ "Exchange data with the device named 127.0.0.1"));
CreateAndInstall(
"{"
@@ -587,7 +587,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with the computer named www.example.com"));
+ "Exchange data with the device named www.example.com"));
CreateAndInstall(
"{"
@@ -601,7 +601,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with the computer named 127.0.0.1"));
+ "Exchange data with the device named 127.0.0.1"));
CreateAndInstall(
"{"
@@ -615,7 +615,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with any computer on the local network or internet"));
+ "Exchange data with any device on the local network or internet"));
CreateAndInstall(
"{"
@@ -637,7 +637,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with the computers named: 127.0.0.1 www.bar.com "
+ "Exchange data with the devices named: 127.0.0.1 www.bar.com "
"www.example.com www.foo.com www.google.com"));
CreateAndInstall(
@@ -668,7 +668,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with the computers named: 127.0.0.1 www.abc.com "
+ "Exchange data with the devices named: 127.0.0.1 www.abc.com "
"www.example.com www.foo.com www.freestuff.com www.google.com "
"www.mywebsite.com www.test.com"));
@@ -685,7 +685,7 @@ TEST_F(PermissionMessageCombinationsUnittest,
" }"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with any computer on the local network or internet"));
+ "Exchange data with any device on the local network or internet"));
}
// Check that permission messages are generated correctly for
@@ -788,7 +788,7 @@ TEST_F(PermissionMessageCombinationsUnittest, SocketPermissionMessages) {
" ]"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with any computer on the local network or internet"));
+ "Exchange data with any device on the local network or internet"));
CreateAndInstall(
"{"
@@ -806,7 +806,7 @@ TEST_F(PermissionMessageCombinationsUnittest, SocketPermissionMessages) {
" ]"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with any computer on the local network or internet"));
+ "Exchange data with any device on the local network or internet"));
CreateAndInstall(
"{"
@@ -820,7 +820,7 @@ TEST_F(PermissionMessageCombinationsUnittest, SocketPermissionMessages) {
" ]"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with the computer named foo.example.com"));
+ "Exchange data with the device named foo.example.com"));
CreateAndInstall(
"{"
@@ -834,7 +834,7 @@ TEST_F(PermissionMessageCombinationsUnittest, SocketPermissionMessages) {
" ]"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with any computer on the local network or internet"));
+ "Exchange data with any device on the local network or internet"));
CreateAndInstall(
"{"
@@ -851,7 +851,7 @@ TEST_F(PermissionMessageCombinationsUnittest, SocketPermissionMessages) {
" ]"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with the computers named: foo.example.com test.ping.com"));
+ "Exchange data with the devices named: foo.example.com test.ping.com"));
CreateAndInstall(
"{"
@@ -871,7 +871,7 @@ TEST_F(PermissionMessageCombinationsUnittest, SocketPermissionMessages) {
" ]"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with the computers named: foo.example.com test.ping.com "
+ "Exchange data with the devices named: foo.example.com test.ping.com "
"test2.ping.com www.ping.com"));
CreateAndInstall(
@@ -890,7 +890,7 @@ TEST_F(PermissionMessageCombinationsUnittest, SocketPermissionMessages) {
" ]"
"}");
ASSERT_TRUE(CheckManifestProducesPermissions(
- "Exchange data with any computer on the local network or internet"));
+ "Exchange data with any device on the local network or internet"));
}
// Check that permission messages are generated correctly for
« 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