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

Unified Diff: blimp/client/app/linux/blimp_client_context_delegate_linux.h

Issue 2363153002: Migrate Linux Blimp client to use BlimpClientContext (Closed)
Patch Set: Fix dependency issue found by gn check Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/client/BUILD.gn ('k') | blimp/client/app/linux/blimp_client_context_delegate_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/linux/blimp_client_context_delegate_linux.h
diff --git a/blimp/client/app/linux/blimp_client_context_delegate_linux.h b/blimp/client/app/linux/blimp_client_context_delegate_linux.h
new file mode 100644
index 0000000000000000000000000000000000000000..dda453a739451034193ffbd4a82d9a3a76141ba8
--- /dev/null
+++ b/blimp/client/app/linux/blimp_client_context_delegate_linux.h
@@ -0,0 +1,36 @@
+// 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.
+
+#ifndef BLIMP_CLIENT_APP_LINUX_BLIMP_CLIENT_CONTEXT_DELEGATE_LINUX_H_
+#define BLIMP_CLIENT_APP_LINUX_BLIMP_CLIENT_CONTEXT_DELEGATE_LINUX_H_
+
+#include "blimp/client/public/blimp_client_context_delegate.h"
+#include "google_apis/gaia/identity_provider.h"
+
+namespace blimp {
+namespace client {
+
+class BlimpContents;
+
+class BlimpClientContextDelegateLinux : public BlimpClientContextDelegate {
+ public:
+ BlimpClientContextDelegateLinux();
+ ~BlimpClientContextDelegateLinux() override;
+
+ // BlimpClientContextDelegate implementation.
+ void AttachBlimpContentsHelpers(BlimpContents* blimp_contents) override;
+ void OnAssignmentConnectionAttempted(AssignmentRequestResult result,
+ const Assignment& assignment) override;
+ std::unique_ptr<IdentityProvider> CreateIdentityProvider() override;
+ void OnAuthenticationError(
+ BlimpClientContextDelegate::AuthError error) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(BlimpClientContextDelegateLinux);
+};
+
+} // namespace client
+} // namespace blimp
+
+#endif // BLIMP_CLIENT_APP_LINUX_BLIMP_CLIENT_CONTEXT_DELEGATE_LINUX_H_
« no previous file with comments | « blimp/client/BUILD.gn ('k') | blimp/client/app/linux/blimp_client_context_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698