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

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

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 #include "services/shell/public/cpp/capabilities.h" 5 #include "services/service_manager/public/cpp/capabilities.h"
6 6
7 #include <tuple> 7 #include <tuple>
8 8
9 namespace shell { 9 namespace shell {
10 10
11 CapabilitySpec::CapabilitySpec() {} 11 CapabilitySpec::CapabilitySpec() {}
12 CapabilitySpec::CapabilitySpec(const CapabilitySpec& other) = default; 12 CapabilitySpec::CapabilitySpec(const CapabilitySpec& other) = default;
13 CapabilitySpec::~CapabilitySpec() {} 13 CapabilitySpec::~CapabilitySpec() {}
14 14
15 bool CapabilitySpec::operator==(const CapabilitySpec& other) const { 15 bool CapabilitySpec::operator==(const CapabilitySpec& other) const {
16 return other.provided == provided && other.required == required; 16 return other.provided == provided && other.required == required;
17 } 17 }
18 18
19 bool CapabilitySpec::operator<(const CapabilitySpec& other) const { 19 bool CapabilitySpec::operator<(const CapabilitySpec& other) const {
20 return std::tie(provided, required) < 20 return std::tie(provided, required) <
21 std::tie(other.provided, other.required); 21 std::tie(other.provided, other.required);
22 } 22 }
23 23
24 } // namespace shell 24 } // namespace shell
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/lib/callback_binder.cc ('k') | services/service_manager/public/cpp/lib/connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698