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

Side by Side Diff: remoting/base/capabilities.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 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 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 #ifndef REMOTING_BASE_CAPABILITIES_H_ 5 #ifndef REMOTING_BASE_CAPABILITIES_H_
6 #define REMOTING_BASE_CAPABILITIES_H_ 6 #define REMOTING_BASE_CAPABILITIES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 10
12 namespace remoting { 11 namespace remoting {
13 12
14 // Returns true if |capabilities| contain capability |key|. 13 // Returns true if |capabilities| contain capability |key|.
15 bool HasCapability(const std::string& capabilities, const std::string& key); 14 bool HasCapability(const std::string& capabilities, const std::string& key);
16 15
17 // Returns a set of capabilities contained in both |client_capabilities| and 16 // Returns a set of capabilities contained in both |client_capabilities| and
18 // |host_capabilities| sets. 17 // |host_capabilities| sets.
19 std::string IntersectCapabilities(const std::string& client_capabilities, 18 std::string IntersectCapabilities(const std::string& client_capabilities,
20 const std::string& host_capabilities); 19 const std::string& host_capabilities);
21 20
22 } // namespace remoting 21 } // namespace remoting
23 22
24 #endif // REMOTING_BASE_CAPABILITIES_H_ 23 #endif // REMOTING_BASE_CAPABILITIES_H_
OLDNEW
« no previous file with comments | « remoting/base/buffered_socket_writer_unittest.cc ('k') | remoting/base/capabilities_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698