Non-SFI mode: Clean up macros of base/ and ipc/ libraries for nacl_helper_nonsfi.
[chromium-blink-merge.git] / remoting / base / capabilities.h
blob0a285be5933daa7c3767ca9696bdef4426f1e753
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef REMOTING_BASE_CAPABILITIES_H_
6 #define REMOTING_BASE_CAPABILITIES_H_
8 #include <string>
10 #include "base/basictypes.h"
12 namespace remoting {
14 // Returns true if |capabilities| contain capability |key|.
15 bool HasCapability(const std::string& capabilities, const std::string& key);
17 // Returns a set of capabilities contained in both |client_capabilities| and
18 // |host_capabilities| sets.
19 std::string IntersectCapabilities(const std::string& client_capabilities,
20 const std::string& host_capabilities);
22 } // namespace remoting
24 #endif // REMOTING_BASE_CAPABILITIES_H_