Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / remoting / android / java / src / org / chromium / chromoting / DummyClientExtension.java
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.chromoting;
6
7 import android.app.Activity;
8
9 /**
10  * A dummy implementation of ClientExtension.
11  */
12 public class DummyClientExtension implements ClientExtension {
13
14     @Override
15     public String getCapability() {
16         return "";
17     }
18
19     @Override
20     public boolean onExtensionMessage(String type, String data) {
21         return false;
22     }
23
24     @Override
25     public ActivityLifecycleListener onActivityAcceptingListener(Activity activity) {
26         return null;
27     }
28 }