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

Unified Diff: chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc

Issue 762863002: Removed policy::PolicyNamespaceKey. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pass values in ctors Created 6 years, 1 month 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/browser/policy/cloud/cloud_policy_invalidator_unittest.cc
diff --git a/chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc b/chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc
index 28010b05f743565d17048f0d36165150818f0619..1286efb93a69c4cb624652fea77ab4f1720e813a 100644
--- a/chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc
+++ b/chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc
@@ -211,11 +211,11 @@ class CloudPolicyInvalidatorTest : public testing::Test {
};
CloudPolicyInvalidatorTest::CloudPolicyInvalidatorTest()
- : core_(PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType,
- std::string()),
+ : core_(dm_protocol::kChromeUserPolicyType,
+ std::string(),
&store_,
loop_.message_loop_proxy()),
- client_(NULL),
+ client_(nullptr),
task_runner_(new base::TestSimpleTaskRunner()),
clock_(new base::SimpleTestClock()),
object_id_a_(135, "asdf"),
@@ -274,7 +274,7 @@ void CloudPolicyInvalidatorTest::StartRefreshScheduler() {
}
void CloudPolicyInvalidatorTest::DisconnectCore() {
- client_ = NULL;
+ client_ = nullptr;
core_.Disconnect();
}

Powered by Google App Engine
This is Rietveld 408576698