Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / chromeos / settings / device_identity_provider.cc
blob22d3150449d6b0ab98c6d2f33f2e68789d5b971f
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/settings/device_identity_provider.h"
7 #include "chrome/browser/chromeos/settings/device_oauth2_token_service.h"
9 namespace chromeos {
11 DeviceIdentityProvider::DeviceIdentityProvider(
12 chromeos::DeviceOAuth2TokenService* token_service)
13 : token_service_(token_service) {}
15 DeviceIdentityProvider::~DeviceIdentityProvider() {}
17 std::string DeviceIdentityProvider::GetActiveUsername() {
18 return token_service_->GetRobotAccountId();
21 std::string DeviceIdentityProvider::GetActiveAccountId() {
22 return token_service_->GetRobotAccountId();
25 OAuth2TokenService* DeviceIdentityProvider::GetTokenService() {
26 return token_service_;
29 bool DeviceIdentityProvider::RequestLogin() {
30 return false;
33 } // namespace chromeos