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

Side by Side Diff: blimp/client/app/android/blimp_client_context_delegate_android.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_APP_ANDROID_BLIMP_CLIENT_CONTEXT_DELEGATE_ANDROID_H_
6 #define BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_CONTEXT_DELEGATE_ANDROID_H_
7
8 #include "blimp/client/public/blimp_client_context_delegate.h"
9 #include "google_apis/gaia/identity_provider.h"
10
11 namespace blimp {
12 namespace client {
13
14 class BlimpClientContext;
15 class BlimpContents;
16
17 class BlimpClientContextDelegateAndroid : public BlimpClientContextDelegate {
18 public:
19 explicit BlimpClientContextDelegateAndroid(
20 BlimpClientContext* blimp_client_context);
21 ~BlimpClientContextDelegateAndroid() override;
22
23 // BlimpClientContextDelegate implementation.
24 void AttachBlimpContentsHelpers(BlimpContents* blimp_contents) override;
25 void OnAssignmentConnectionAttempted(AssignmentRequestResult result,
26 const Assignment& assignment) override;
27 std::unique_ptr<IdentityProvider> CreateIdentityProvider() override;
28 void OnAuthenticationError(const GoogleServiceAuthError& error) override;
29 void OnConnected() override;
30 void OnEngineDisconnected(int result) override;
31 void OnNetworkDisconnected(int result) override;
32
33 private:
34 void OnDisconnected(const base::string16& reason);
35 void ShowMessage(const base::string16& message);
36
37 // The BlimpClientContext this is the delegate for.
38 BlimpClientContext* blimp_client_context_;
39
40 DISALLOW_COPY_AND_ASSIGN(BlimpClientContextDelegateAndroid);
41 };
42
43 } // namespace client
44 } // namespace blimp
45
46 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_CONTEXT_DELEGATE_ANDROID_H_
OLDNEW
« no previous file with comments | « blimp/client/app/android/blimp_app_jni_registrar.cc ('k') | blimp/client/app/android/blimp_client_context_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698