Chromium Code Reviews| Index: blimp/client/support/session/blimp_default_identity_provider.cc |
| diff --git a/blimp/client/support/session/blimp_default_identity_provider.cc b/blimp/client/support/session/blimp_default_identity_provider.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..29218aba719e6d00c4c4d7df6bbf116e5027278f |
| --- /dev/null |
| +++ b/blimp/client/support/session/blimp_default_identity_provider.cc |
| @@ -0,0 +1,37 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "blimp/client/support/session/blimp_default_identity_provider.h" |
| + |
| +#include "google_apis/gaia/oauth2_token_service.h" |
| + |
| +namespace blimp { |
| +namespace client { |
| + |
|
Kevin M
2016/09/28 01:35:47
remove blank line
steimel
2016/09/28 20:33:07
Done.
|
| +namespace { |
| +constexpr char kDummyAccountId[] = "DummyAccountId"; |
| +} // namespace |
| + |
| +BlimpDefaultIdentityProvider::BlimpDefaultIdentityProvider() = default; |
| + |
| +BlimpDefaultIdentityProvider::~BlimpDefaultIdentityProvider() = default; |
| + |
| +std::string BlimpDefaultIdentityProvider::GetActiveUsername() { |
| + return kDummyAccountId; |
| +} |
| + |
| +std::string BlimpDefaultIdentityProvider::GetActiveAccountId() { |
| + return kDummyAccountId; |
| +} |
| + |
| +OAuth2TokenService* BlimpDefaultIdentityProvider::GetTokenService() { |
| + return nullptr; |
| +} |
| + |
| +bool BlimpDefaultIdentityProvider::RequestLogin() { |
| + return false; |
| +} |
| + |
| +} // namespace client |
| +} // namespace blimp |