Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: blimp/client/support/session/blimp_default_identity_provider.cc

Issue 2363153002: Migrate Linux Blimp client to use BlimpClientContext (Closed)
Patch Set: More code review changes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
Kevin M 2016/09/28 01:35:47 remove blank line
steimel 2016/09/28 20:33:07 Done.
12 namespace {
13 constexpr char kDummyAccountId[] = "DummyAccountId";
14 } // namespace
15
16 BlimpDefaultIdentityProvider::BlimpDefaultIdentityProvider() = default;
17
18 BlimpDefaultIdentityProvider::~BlimpDefaultIdentityProvider() = default;
19
20 std::string BlimpDefaultIdentityProvider::GetActiveUsername() {
21 return kDummyAccountId;
22 }
23
24 std::string BlimpDefaultIdentityProvider::GetActiveAccountId() {
25 return kDummyAccountId;
26 }
27
28 OAuth2TokenService* BlimpDefaultIdentityProvider::GetTokenService() {
29 return nullptr;
30 }
31
32 bool BlimpDefaultIdentityProvider::RequestLogin() {
33 return false;
34 }
35
36 } // namespace client
37 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698