Home
last modified time | relevance | path

Searched refs:device_credentials (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/policy/
Duser_policy_identity_strategy.cc90 em::DeviceCredentials device_credentials; in LoadOnFileThread() local
92 device_credentials.ParseFromArray(data.c_str(), data.size())) { in LoadOnFileThread()
93 device_token = device_credentials.device_token(); in LoadOnFileThread()
94 device_id = device_credentials.device_id(); in LoadOnFileThread()
119 em::DeviceCredentials device_credentials; in StoreOnFileThread() local
120 device_credentials.set_device_token(token); in StoreOnFileThread()
121 device_credentials.set_device_id(device_id); in StoreOnFileThread()
123 bool success = device_credentials.SerializeToString(&data); in StoreOnFileThread()
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_policy_token_loader.cc48 em::DeviceCredentials device_credentials; in LoadOnBackgroundThread() local
50 device_credentials.ParseFromArray(data.c_str(), data.size())) { in LoadOnBackgroundThread()
51 device_token = device_credentials.device_token(); in LoadOnBackgroundThread()
52 device_id = device_credentials.device_id(); in LoadOnBackgroundThread()