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

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

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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 #ifndef BLIMP_CLIENT_SUPPORT_SESSION_BLIMP_DEFAULT_IDENTITY_PROVIDER_H_
6 #define BLIMP_CLIENT_SUPPORT_SESSION_BLIMP_DEFAULT_IDENTITY_PROVIDER_H_
7
8 #include <string>
9
10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
12 #include "google_apis/gaia/identity_provider.h"
13
14 namespace blimp {
15 namespace client {
16
17 // Provides a dummy identity provider with a null token service that doesn't
18 // actually log in. Useful when using command-line switches to get the
19 // assignment.
20 class BlimpDefaultIdentityProvider : public IdentityProvider {
21 public:
22 BlimpDefaultIdentityProvider();
23 ~BlimpDefaultIdentityProvider() override;
24
25 // IdentityProvider implementation.
26 std::string GetActiveUsername() override;
27 std::string GetActiveAccountId() override;
28 OAuth2TokenService* GetTokenService() override;
29 bool RequestLogin() override;
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(BlimpDefaultIdentityProvider);
33 };
34
35 } // namespace client
36 } // namespace blimp
37
38 #endif // BLIMP_CLIENT_SUPPORT_SESSION_BLIMP_DEFAULT_IDENTITY_PROVIDER_H_
OLDNEW
« no previous file with comments | « blimp/client/support/session/BUILD.gn ('k') | blimp/client/support/session/blimp_default_identity_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698