| OLD | NEW |
| (Empty) |
| 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 #ifndef MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_ | |
| 6 #define MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_ | |
| 7 | |
| 8 #include "mojo/public/cpp/application/service_provider_impl.h" | |
| 9 | |
| 10 namespace mojo { | |
| 11 | |
| 12 // Represents a connection to another application. An instance of this class is | |
| 13 // passed to ApplicationDelegate's ConfigureIncomingConnection() method each | |
| 14 // time a connection is made to this app, and is returned by the | |
| 15 // ApplicationDelegate's ConnectToApplication() method when this app | |
| 16 // connects to another. | |
| 17 // TODO(vtl): Don't get too attached to this class. I'm going to remove it. | |
| 18 class ApplicationConnection { | |
| 19 public: | |
| 20 virtual ~ApplicationConnection(); | |
| 21 | |
| 22 virtual ServiceProviderImpl& GetServiceProviderImpl() = 0; | |
| 23 }; | |
| 24 | |
| 25 } // namespace mojo | |
| 26 | |
| 27 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_ | |
| OLD | NEW |