Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BLIMP_CLIENT_CORE_DUMMY_BLIMP_CLIENT_CONTEXT_H_ | 5 #ifndef BLIMP_CLIENT_CORE_DUMMY_BLIMP_CLIENT_CONTEXT_H_ |
| 6 #define BLIMP_CLIENT_CORE_DUMMY_BLIMP_CLIENT_CONTEXT_H_ | 6 #define BLIMP_CLIENT_CORE_DUMMY_BLIMP_CLIENT_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "blimp/client/public/blimp_client_context.h" | 9 #include "blimp/client/public/blimp_client_context.h" |
| 10 #include "blimp/client/public/contents/blimp_contents.h" | 10 #include "blimp/client/public/contents/blimp_contents.h" |
| 11 | 11 |
| 12 namespace blimp { | 12 namespace blimp { |
| 13 namespace client { | 13 namespace client { |
| 14 | 14 |
| 15 // A dummy implementation of the BlimpClientContext. | 15 // A dummy implementation of the BlimpClientContext. |
|
Kevin M
2016/08/04 17:44:17
Already understood by the class name. ;)
What's i
nyquist
2016/08/05 21:22:39
Tried to clarify how to get to this class and why
| |
| 16 class DummyBlimpClientContext : public BlimpClientContext { | 16 class DummyBlimpClientContext : public BlimpClientContext { |
| 17 public: | 17 public: |
| 18 DummyBlimpClientContext(); | 18 DummyBlimpClientContext(); |
| 19 ~DummyBlimpClientContext() override; | 19 ~DummyBlimpClientContext() override; |
| 20 | 20 |
| 21 // BlimpClientContext implementation. | 21 // BlimpClientContext implementation. |
| 22 void SetDelegate(BlimpClientContextDelegate* delegate) override; | 22 void SetDelegate(BlimpClientContextDelegate* delegate) override; |
| 23 std::unique_ptr<BlimpContents> CreateBlimpContents() override; | 23 std::unique_ptr<BlimpContents> CreateBlimpContents() override; |
| 24 void Connect(const std::string& client_auth_token) override; | |
| 24 | 25 |
| 25 private: | 26 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(DummyBlimpClientContext); | 27 DISALLOW_COPY_AND_ASSIGN(DummyBlimpClientContext); |
| 27 }; | 28 }; |
| 28 | 29 |
| 29 } // namespace client | 30 } // namespace client |
| 30 } // namespace blimp | 31 } // namespace blimp |
| 31 | 32 |
| 32 #endif // BLIMP_CLIENT_CORE_DUMMY_BLIMP_CLIENT_CONTEXT_H_ | 33 #endif // BLIMP_CLIENT_CORE_DUMMY_BLIMP_CLIENT_CONTEXT_H_ |
| OLD | NEW |