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

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

Issue 1150373002: platformKeys: Add policy and corporate key tagging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@key_perm
Patch Set: Created 5 years, 6 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/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);

Powered by Google App Engine
This is Rietveld 408576698