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

Unified Diff: services/service_manager/public/cpp/bind_source_info.h

Issue 2850743004: Replace ServiceInfo with BindSourceInfo. (Closed)
Patch Set: . Created 3 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 side-by-side diff with in-line comments
Download patch
Index: services/service_manager/public/cpp/bind_source_info.h
diff --git a/services/service_manager/public/cpp/bind_source_info.h b/services/service_manager/public/cpp/bind_source_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..4e7739b469d8fdf3508a26fb9128b0e63b185b5a
--- /dev/null
+++ b/services/service_manager/public/cpp/bind_source_info.h
@@ -0,0 +1,31 @@
+// Copyright 2017 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 SERVICES_SERVICE_MANAGER_PUBLIC_CPP_BIND_SOURCE_INFO_H_
+#define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_BIND_SOURCE_INFO_H_
+
+#include <map>
+#include <string>
+
+#include "services/service_manager/public/cpp/identity.h"
+#include "services/service_manager/public/cpp/interface_provider_spec.h"
+
+namespace service_manager {
+
+class Identity;
+
+struct BindSourceInfo {
+ BindSourceInfo();
+ BindSourceInfo(const Identity& identity,
+ const CapabilitySet& required_capabilities);
+ BindSourceInfo(const BindSourceInfo& other);
+ ~BindSourceInfo();
+
+ Identity identity;
+ CapabilitySet required_capabilities;
+};
+
+} // namespace service_manager
+
+#endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_BIND_SOURCE_INFO_H_
« no previous file with comments | « services/service_manager/public/cpp/OWNERS ('k') | services/service_manager/public/cpp/bind_source_info.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698