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

Side by Side Diff: services/shell/public/cpp/shell_client.h

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 months 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
« no previous file with comments | « services/shell/public/cpp/shell.h ('k') | services/shell/public/cpp/shell_connection.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_CPP_SHELL_CLIENT_H_ 5 #ifndef SERVICES_SHELL_PUBLIC_CPP_SHELL_CLIENT_H_
6 #define MOJO_SHELL_PUBLIC_CPP_SHELL_CLIENT_H_ 6 #define SERVICES_SHELL_PUBLIC_CPP_SHELL_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "mojo/shell/public/cpp/connection.h" 12 #include "services/shell/public/cpp/connection.h"
13 #include "mojo/shell/public/cpp/identity.h" 13 #include "services/shell/public/cpp/identity.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 16
17 class Connector; 17 class Connector;
18 18
19 // An interface representing an instance "known to the Mojo Shell". The 19 // An interface representing an instance "known to the Mojo Shell". The
20 // implementation receives lifecycle messages for the instance and gets the 20 // implementation receives lifecycle messages for the instance and gets the
21 // opportunity to handle inbound connections brokered by the Shell. Every client 21 // opportunity to handle inbound connections brokered by the Shell. Every client
22 // of ShellConnection must implement this interface, and instances of this 22 // of ShellConnection must implement this interface, and instances of this
23 // interface must outlive the ShellConnection. 23 // interface must outlive the ShellConnection.
(...skipping 26 matching lines...) Expand all
50 // the message loop created by ApplicationRunner, which results in the app 50 // the message loop created by ApplicationRunner, which results in the app
51 // quitting. 51 // quitting.
52 virtual bool ShellConnectionLost(); 52 virtual bool ShellConnectionLost();
53 53
54 private: 54 private:
55 DISALLOW_COPY_AND_ASSIGN(ShellClient); 55 DISALLOW_COPY_AND_ASSIGN(ShellClient);
56 }; 56 };
57 57
58 } // namespace mojo 58 } // namespace mojo
59 59
60 #endif // MOJO_SHELL_PUBLIC_CPP_SHELL_CLIENT_H_ 60 #endif // SERVICES_SHELL_PUBLIC_CPP_SHELL_CLIENT_H_
OLDNEW
« no previous file with comments | « services/shell/public/cpp/shell.h ('k') | services/shell/public/cpp/shell_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698