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

Unified Diff: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc

Issue 1258313002: Send GCM id to DMServer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add tests Created 5 years, 5 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/chromeos/policy/device_cloud_policy_manager_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc
index f96b99799711c09086587b3a42de2f26659b4f45..7c93fc8633097416de28dc42bbd3b20f5395e98c 100644
--- a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc
@@ -253,11 +253,10 @@ void DeviceCloudPolicyManagerChromeOS::StartConnection(
// the monitoring settings and only perform monitoring if it is active.
if (install_attributes->IsEnterpriseDevice()) {
CreateStatusUploader();
- heartbeat_scheduler_.reset(
- new HeartbeatScheduler(g_browser_process->gcm_driver(),
- install_attributes->GetDomain(),
- install_attributes->GetDeviceId(),
- task_runner_));
+ heartbeat_scheduler_.reset(new HeartbeatScheduler(
+ g_browser_process->gcm_driver(), core()->client(),
Andrew T Wilson (Slow) 2015/08/03 13:52:26 can you just use client() here and not core()->cli
binjin 2015/08/03 17:54:24 Done.
+ install_attributes->GetDomain(), install_attributes->GetDeviceId(),
+ task_runner_));
}
NotifyConnected();

Powered by Google App Engine
This is Rietveld 408576698