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

Unified Diff: chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc

Issue 1443033004: Supervised User whitelists: update to json format v2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: title Created 5 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/component_updater/supervised_user_whitelist_installer_unittest.cc
diff --git a/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc b/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc
index 1222b32a139704429b662a9314cb5cd1f8ebb12c..342f7e3b3933acba83a89cc022d144a4593eda89 100644
--- a/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc
+++ b/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc
@@ -163,6 +163,7 @@ class WhitelistLoadObserver {
private:
void OnWhitelistReady(const std::string& crx_id,
+ const base::string16& title,
const base::FilePath& whitelist_path) {
EXPECT_EQ(base::FilePath::StringType(), whitelist_path_.value());
whitelist_path_ = whitelist_path;
@@ -208,8 +209,8 @@ class SupervisedUserWhitelistInstallerTest : public testing::Test {
scoped_ptr<base::DictionaryValue> whitelist_dict(
new base::DictionaryValue);
- whitelist_dict->SetString("file", kWhitelistFile);
- manifest_.Set("whitelist", whitelist_dict.release());
+ whitelist_dict->SetString("sites", kWhitelistFile);
+ manifest_.Set("whitelisted_content", whitelist_dict.release());
manifest_.SetString("version", kVersion);
scoped_ptr<base::DictionaryValue> crx_dict(new base::DictionaryValue);

Powered by Google App Engine
This is Rietveld 408576698