Chromium Code Reviews| 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..3715f7ac3405beb7446f376ecb4f874cd8ea11dc |
| --- /dev/null |
| +++ b/blimp/client/app/linux/blimp_client_context_delegate_linux.h |
| @@ -0,0 +1,35 @@ |
| +// 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; |
|
Kevin M
2016/09/27 21:59:41
add newline
steimel
2016/09/27 23:23:19
Done.
|
| + |
| +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_ |