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

Unified Diff: services/shell/public/cpp/identity_struct_traits.h

Issue 2253293002: Mojo C++ bindings: change the first template parameter of StructTraits and UnionTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@91_extra
Patch Set: rebase Created 4 years, 4 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/shell/public/cpp/identity_struct_traits.h
diff --git a/services/shell/public/cpp/identity_struct_traits.h b/services/shell/public/cpp/identity_struct_traits.h
index 86ccc66c7df9c7df87dc72d3854801cfa00e7786..46d9d5862e6b31a32e9f4d320f0d61211f80db6e 100644
--- a/services/shell/public/cpp/identity_struct_traits.h
+++ b/services/shell/public/cpp/identity_struct_traits.h
@@ -11,7 +11,7 @@
namespace mojo {
template <>
-struct StructTraits<shell::mojom::Identity, shell::Identity> {
+struct StructTraits<shell::mojom::IdentityDataView, shell::Identity> {
static const std::string& name(const shell::Identity& identity) {
return identity.name();
}
« no previous file with comments | « services/shell/public/cpp/capabilities_struct_traits.h ('k') | services/ui/public/interfaces/display/display_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698