| 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_
|
|
|