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

Side by Side Diff: services/shell/public/cpp/lib/capabilities.cc

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
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 #include "mojo/shell/public/cpp/capabilities.h" 5 #include "services/shell/public/cpp/capabilities.h"
6 6
7 namespace mojo { 7 namespace mojo {
8 8
9 CapabilityRequest::CapabilityRequest() {} 9 CapabilityRequest::CapabilityRequest() {}
10 CapabilityRequest::CapabilityRequest(const CapabilityRequest& other) = default; 10 CapabilityRequest::CapabilityRequest(const CapabilityRequest& other) = default;
11 CapabilityRequest::~CapabilityRequest() {} 11 CapabilityRequest::~CapabilityRequest() {}
12 12
13 bool CapabilityRequest::operator==(const CapabilityRequest& other) const { 13 bool CapabilityRequest::operator==(const CapabilityRequest& other) const {
14 return other.classes == classes && other.interfaces == interfaces; 14 return other.classes == classes && other.interfaces == interfaces;
15 } 15 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 TypeConverter<CapabilityRequest, 73 TypeConverter<CapabilityRequest,
74 shell::mojom::CapabilityRequestPtr>::Convert( 74 shell::mojom::CapabilityRequestPtr>::Convert(
75 const shell::mojom::CapabilityRequestPtr& input) { 75 const shell::mojom::CapabilityRequestPtr& input) {
76 CapabilityRequest request; 76 CapabilityRequest request;
77 request.classes = input->classes.To<std::set<std::string>>(); 77 request.classes = input->classes.To<std::set<std::string>>();
78 request.interfaces = input->interfaces.To<std::set<std::string>>(); 78 request.interfaces = input->interfaces.To<std::set<std::string>>();
79 return request; 79 return request;
80 } 80 }
81 81
82 } // namespace mojo 82 } // namespace mojo
OLDNEW
« no previous file with comments | « services/shell/public/cpp/lib/application_test_main.cc ('k') | services/shell/public/cpp/lib/connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698