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

Side by Side Diff: services/service_manager/public/cpp/interface_provider.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SERVICES_SHELL_PUBLIC_CPP_INTERFACE_PROVIDER_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_PROVIDER_H_
6 #define SERVICES_SHELL_PUBLIC_CPP_INTERFACE_PROVIDER_H_ 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_PROVIDER_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "services/shell/public/interfaces/interface_provider.mojom.h" 9 #include "services/service_manager/public/interfaces/interface_provider.mojom.h"
10 10
11 namespace shell { 11 namespace shell {
12 12
13 // Encapsulates a mojom::InterfaceProviderPtr implemented in a remote 13 // Encapsulates a mojom::InterfaceProviderPtr implemented in a remote
14 // application. Provides two main features: 14 // application. Provides two main features:
15 // - a typesafe GetInterface() method for binding InterfacePtrs. 15 // - a typesafe GetInterface() method for binding InterfacePtrs.
16 // - a testing API that allows local callbacks to be registered that bind 16 // - a testing API that allows local callbacks to be registered that bind
17 // requests for remote interfaces. 17 // requests for remote interfaces.
18 // An instance of this class is used by the GetInterface() methods on 18 // An instance of this class is used by the GetInterface() methods on
19 // Connection. 19 // Connection.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // InterfaceProvider pipe. 112 // InterfaceProvider pipe.
113 ForwardCallback forward_callback_; 113 ForwardCallback forward_callback_;
114 114
115 base::WeakPtrFactory<InterfaceProvider> weak_factory_; 115 base::WeakPtrFactory<InterfaceProvider> weak_factory_;
116 116
117 DISALLOW_COPY_AND_ASSIGN(InterfaceProvider); 117 DISALLOW_COPY_AND_ASSIGN(InterfaceProvider);
118 }; 118 };
119 119
120 } // namespace shell 120 } // namespace shell
121 121
122 #endif // SERVICES_SHELL_PUBLIC_CPP_INTERFACE_PROVIDER_H_ 122 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_PROVIDER_H_
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/interface_factory_impl.h ('k') | services/service_manager/public/cpp/interface_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698