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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store_test.cc

Issue 197013007: Set drive as the default download folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Version 1 Created 6 years, 9 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
Index: chrome/browser/policy/configuration_policy_pref_store_test.cc
diff --git a/chrome/browser/policy/configuration_policy_pref_store_test.cc b/chrome/browser/policy/configuration_policy_pref_store_test.cc
index ec9b47963b4b449653bb16d7891fa03ba5dd765a..14f648c737dff3763a1434f64c4e103a66a331e4 100644
--- a/chrome/browser/policy/configuration_policy_pref_store_test.cc
+++ b/chrome/browser/policy/configuration_policy_pref_store_test.cc
@@ -6,7 +6,9 @@
#include <string>
+#include "base/bind.h"
#include "base/run_loop.h"
+#include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
#include "components/policy/core/browser/configuration_policy_pref_store.h"
#include "components/policy/core/common/policy_details.h"
#include "components/policy/core/common/policy_map.h"
@@ -19,7 +21,8 @@ using testing::_;
namespace policy {
ConfigurationPolicyPrefStoreTest::ConfigurationPolicyPrefStoreTest()
- : handler_list_(GetChromePolicyDetailsCallback()) {
+ : handler_list_(base::Bind(&PopulatePolicyHandlerParameters),
+ GetChromePolicyDetailsCallback()) {
EXPECT_CALL(provider_, IsInitializationComplete(_))
.WillRepeatedly(Return(false));
provider_.Init();

Powered by Google App Engine
This is Rietveld 408576698