| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #include "blimp/client/support/session/blimp_default_identity_provider.h" |
| 6 |
| 7 #include "google_apis/gaia/oauth2_token_service.h" |
| 8 |
| 9 namespace blimp { |
| 10 namespace client { |
| 11 namespace { |
| 12 constexpr char kDummyAccountId[] = "DummyAccountId"; |
| 13 } // namespace |
| 14 |
| 15 BlimpDefaultIdentityProvider::BlimpDefaultIdentityProvider() = default; |
| 16 |
| 17 BlimpDefaultIdentityProvider::~BlimpDefaultIdentityProvider() = default; |
| 18 |
| 19 std::string BlimpDefaultIdentityProvider::GetActiveUsername() { |
| 20 return kDummyAccountId; |
| 21 } |
| 22 |
| 23 std::string BlimpDefaultIdentityProvider::GetActiveAccountId() { |
| 24 return kDummyAccountId; |
| 25 } |
| 26 |
| 27 OAuth2TokenService* BlimpDefaultIdentityProvider::GetTokenService() { |
| 28 return nullptr; |
| 29 } |
| 30 |
| 31 bool BlimpDefaultIdentityProvider::RequestLogin() { |
| 32 return false; |
| 33 } |
| 34 |
| 35 } // namespace client |
| 36 } // namespace blimp |
| OLD | NEW |