| Index: mojo/shell/external_application_listener_win.h
|
| diff --git a/mojo/shell/external_application_listener_win.h b/mojo/shell/external_application_listener_win.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..934cd41ac8d20049153a2ec3322be5ee6454e300
|
| --- /dev/null
|
| +++ b/mojo/shell/external_application_listener_win.h
|
| @@ -0,0 +1,35 @@
|
| +// 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.
|
| +
|
| +#ifndef MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_
|
| +#define MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_
|
| +
|
| +#include "mojo/shell/external_application_listener.h"
|
| +
|
| +#include "base/callback.h"
|
| +#include "base/files/file_path.h"
|
| +
|
| +namespace mojo {
|
| +namespace shell {
|
| +
|
| +// External application registration is not supported on Windows, hence this
|
| +// stub.
|
| +class ExternalApplicationListenerStub : public ExternalApplicationListener {
|
| + public:
|
| + ExternalApplicationListenerStub();
|
| + virtual ~ExternalApplicationListenerStub() OVERRIDE;
|
| +
|
| + void ListenInBackground(const base::FilePath& listen_socket_path,
|
| + const RegisterCallback& register_callback) OVERRIDE;
|
| + void ListenInBackgroundWithErrorCallback(
|
| + const base::FilePath& listen_socket_path,
|
| + const RegisterCallback& register_callback,
|
| + const ErrorCallback& error_callback) OVERRIDE;
|
| + void WaitForListening() OVERRIDE;
|
| +};
|
| +
|
| +} // namespace shell
|
| +} // namespace mojo
|
| +
|
| +#endif // MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_
|
|
|