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

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

Issue 2363153002: Migrate Linux Blimp client to use BlimpClientContext (Closed)
Patch Set: Move compositor creation into display manager. Pull out BlimpDisplayManagerDelegateMain class from … 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 #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 class BlimpDefaultIdentityProvider : public IdentityProvider {
David Trainor- moved to gerrit 2016/09/26 20:54:26 Add a comment describing what this class does (and
steimel 2016/09/27 17:35:01 Done.
18 public:
19 BlimpDefaultIdentityProvider();
20 ~BlimpDefaultIdentityProvider() override;
21
22 // IdentityProvider:
David Trainor- moved to gerrit 2016/09/26 20:54:26 IdentityProvider implementation.
steimel 2016/09/27 17:35:01 Done.
23 std::string GetActiveUsername() override;
24 std::string GetActiveAccountId() override;
25 OAuth2TokenService* GetTokenService() override;
26 bool RequestLogin() override;
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(BlimpDefaultIdentityProvider);
30 };
31
32 } // namespace client
33 } // namespace blimp
34
35 #endif // BLIMP_CLIENT_SUPPORT_SESSION_BLIMP_DEFAULT_IDENTITY_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698