Index: chrome/browser/policy/profile_policy_connector_factory.cc |
diff --git a/chrome/browser/policy/profile_policy_connector_factory.cc b/chrome/browser/policy/profile_policy_connector_factory.cc |
index 5c2cb666bca537a3d01f7fcc843f0e50abb3d66b..a8775979b2b499a7e48cda9d686e050697d2991c 100644 |
--- a/chrome/browser/policy/profile_policy_connector_factory.cc |
+++ b/chrome/browser/policy/profile_policy_connector_factory.cc |
@@ -27,6 +27,8 @@ |
#endif |
#endif |
+#include "base/debug/stack_trace.h" |
+ |
namespace policy { |
// static |
@@ -123,6 +125,8 @@ ProfilePolicyConnectorFactory::CreateForBrowserContextInternal( |
#endif // defined(ENABLE_CONFIGURATION_POLICY) |
scoped_ptr<ProfilePolicyConnector> connector(new ProfilePolicyConnector()); |
+// LOG(ERROR) << base::debug::StackTrace().ToString(); |
+ LOG(ERROR) << "context " << context << " connector " << connector << " mgr " << user_cloud_policy_manager; |
#if defined(ENABLE_CONFIGURATION_POLICY) |
if (test_providers_.empty()) { |
@@ -137,7 +141,7 @@ ProfilePolicyConnectorFactory::CreateForBrowserContextInternal( |
providers.push_back(test_providers_.front()); |
test_providers_.pop_front(); |
scoped_ptr<PolicyService> service(new PolicyServiceImpl(providers)); |
- connector->InitForTesting(service.Pass()); |
+ connector->InitForTesting(service.Pass(), user_cloud_policy_manager); |
} |
#else |
connector->Init(false, NULL, NULL); |