summaryrefslogtreecommitdiffstats
path: root/remoting/android/java/src/org/chromium/chromoting/DummyClientExtension.java
blob: e1dc6771b8f0024bde9446ed4047b2d872f9fbc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2014 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.

package org.chromium.chromoting;

import android.app.Activity;

/**
 * A dummy implementation of ClientExtension.
 */
public class DummyClientExtension implements ClientExtension {

    @Override
    public String getCapability() {
        return "";
    }

    @Override
    public boolean onExtensionMessage(String type, String data) {
        return false;
    }

    @Override
    public ActivityLifecycleListener onActivityAcceptingListener(Activity activity) {
        return null;
    }
}