Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: shell/external_application_listener_win.h

Issue 775343004: Move //mojo/shell to //shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_ 5 #ifndef SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_
6 #define MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_ 6 #define SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_
7 7
8 #include "mojo/shell/external_application_listener.h" 8 #include "shell/external_application_listener.h"
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace shell { 14 namespace shell {
15 15
16 // External application registration is not supported on Windows, hence this 16 // External application registration is not supported on Windows, hence this
17 // stub. 17 // stub.
18 class ExternalApplicationListenerStub : public ExternalApplicationListener { 18 class ExternalApplicationListenerStub : public ExternalApplicationListener {
19 public: 19 public:
20 ExternalApplicationListenerStub(); 20 ExternalApplicationListenerStub();
21 virtual ~ExternalApplicationListenerStub() override; 21 virtual ~ExternalApplicationListenerStub() override;
22 22
23 void ListenInBackground(const base::FilePath& listen_socket_path, 23 void ListenInBackground(const base::FilePath& listen_socket_path,
24 const RegisterCallback& register_callback) override; 24 const RegisterCallback& register_callback) override;
25 void ListenInBackgroundWithErrorCallback( 25 void ListenInBackgroundWithErrorCallback(
26 const base::FilePath& listen_socket_path, 26 const base::FilePath& listen_socket_path,
27 const RegisterCallback& register_callback, 27 const RegisterCallback& register_callback,
28 const ErrorCallback& error_callback) override; 28 const ErrorCallback& error_callback) override;
29 void WaitForListening() override; 29 void WaitForListening() override;
30 }; 30 };
31 31
32 } // namespace shell 32 } // namespace shell
33 } // namespace mojo 33 } // namespace mojo
34 34
35 #endif // MOJO_SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_ 35 #endif // SHELL_EXTERNAL_APPLICATION_LISTENER_WIN_H_
OLDNEW
« no previous file with comments | « shell/external_application_listener_unittest.cc ('k') | shell/external_application_listener_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698