Chromium Code Reviews| Index: chrome/browser/policy/device_policy_identity_strategy.cc |
| diff --git a/chrome/browser/policy/device_policy_identity_strategy.cc b/chrome/browser/policy/device_policy_identity_strategy.cc |
| index 94174a9a10d7e59f1d225922e30f65f2a1e30f29..ed9346d412cc6656f833965b49664c201e6d4c27 100644 |
| --- a/chrome/browser/policy/device_policy_identity_strategy.cc |
| +++ b/chrome/browser/policy/device_policy_identity_strategy.cc |
| @@ -84,6 +84,10 @@ void DevicePolicyIdentityStrategy::SetDeviceManagementCredentials( |
| NotifyDeviceTokenChanged(); |
| } |
| +void DevicePolicyIdentityStrategy::FetchPolicy() { |
|
Mattias Nissler (ping if slow)
2011/04/20 14:32:49
DCHECK(!device_token_.empty())
|
| + NotifyDeviceTokenChanged(); |
| +} |
| + |
| bool DevicePolicyIdentityStrategy::GetCredentials(std::string* username, |
| std::string* auth_token) { |
| *username = username_; |
| @@ -95,7 +99,6 @@ bool DevicePolicyIdentityStrategy::GetCredentials(std::string* username, |
| void DevicePolicyIdentityStrategy::OnDeviceTokenAvailable( |
| const std::string& token) { |
| device_token_ = token; |
| - NotifyDeviceTokenChanged(); |
| } |
| } // namespace policy |