Chromium Code Reviews| Index: blimp/test/test_client.cc |
| diff --git a/blimp/test/test_client.cc b/blimp/test/test_client.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..14e669be82ee9ec828eb1f7f33bedc99d3569830 |
| --- /dev/null |
| +++ b/blimp/test/test_client.cc |
| @@ -0,0 +1,38 @@ |
| +// 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. |
| + |
| +#include "blimp/test/test_client.h" |
|
Kevin M
2016/05/02 21:32:40
test_client_session.h ? Put this in client/test?
haibinlu
2016/05/03 19:32:43
Done. put it under client/session
|
| + |
| +#include "third_party/skia/include/core/SkBitmap.h" |
| + |
| +namespace blimp { |
| +namespace { |
| +// Assigner is not actually used in this test. |
| +const char kAssignerUrl[] = "http://www.assigner.test/"; |
| +} // namespace |
| + |
| +TestClientSession::TestClientSession() |
| + : client::BlimpClientSession(GURL(kAssignerUrl)) {} |
| + |
| +TestClientSession::~TestClientSession() {} |
| + |
| +MockNavigationFeatureDelegate::MockNavigationFeatureDelegate() {} |
| + |
| +MockNavigationFeatureDelegate::~MockNavigationFeatureDelegate() {} |
| + |
| +MockRenderWidgetFeatureDelegate::MockRenderWidgetFeatureDelegate() {} |
| + |
| +MockRenderWidgetFeatureDelegate::~MockRenderWidgetFeatureDelegate() {} |
| + |
| +void MockRenderWidgetFeatureDelegate::OnCompositorMessageReceived( |
| + int render_widget_id, |
| + std::unique_ptr<cc::proto::CompositorMessage> message) { |
| + OnCompositorMessageReceivedPtr(render_widget_id, message.get()); |
| +} |
| + |
| +MockImeFeatureDelegate::MockImeFeatureDelegate() {} |
| + |
| +MockImeFeatureDelegate::~MockImeFeatureDelegate() {} |
| + |
| +} // namespace blimp |