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

Unified Diff: chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc

Issue 2863223002: Remove useless statements from signin screen apps policy test (Closed)
Patch Set: Created 3 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc b/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc
index 80fb61b0ad5f64082234b2b91807904b868ca933..07c7e5981a508ea7bb413102fd50896b3baf26d0 100644
--- a/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc
@@ -349,7 +349,6 @@ class SigninExtensionsDeviceCloudPolicyBrowserTestBase
private:
void SetFakeDevicePolicy() {
- device_policy()->policy_data().set_username(PolicyBuilder::kFakeUsername);
device_policy()->policy_data().set_public_key_version(
kFakePolicyPublicKeyVersion);
device_policy()->Build();
@@ -359,7 +358,6 @@ class SigninExtensionsDeviceCloudPolicyBrowserTestBase
static void MakeTestComponentPolicyBuilder(ComponentPolicyBuilder* builder) {
builder->policy_data().set_policy_type(
dm_protocol::kChromeSigninExtensionPolicyType);
- builder->policy_data().set_username(PolicyBuilder::kFakeUsername);
builder->policy_data().set_settings_entity_id(kTestExtensionId);
builder->policy_data().set_public_key_version(kFakePolicyPublicKeyVersion);
builder->payload().set_download_url(kFakePolicyUrl);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698