| Index: remoting/base/capabilities.h
 | 
| diff --git a/remoting/base/capabilities.h b/remoting/base/capabilities.h
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..0a285be5933daa7c3767ca9696bdef4426f1e753
 | 
| --- /dev/null
 | 
| +++ b/remoting/base/capabilities.h
 | 
| @@ -0,0 +1,24 @@
 | 
| +// Copyright 2013 The Chromium Authors. All rights reserved.
 | 
| +// Use of this source code is governed by a BSD-style license that can be
 | 
| +// found in the LICENSE file.
 | 
| +
 | 
| +#ifndef REMOTING_BASE_CAPABILITIES_H_
 | 
| +#define REMOTING_BASE_CAPABILITIES_H_
 | 
| +
 | 
| +#include <string>
 | 
| +
 | 
| +#include "base/basictypes.h"
 | 
| +
 | 
| +namespace remoting {
 | 
| +
 | 
| +// Returns true if |capabilities| contain capability |key|.
 | 
| +bool HasCapability(const std::string& capabilities, const std::string& key);
 | 
| +
 | 
| +// Returns a set of capabilities contained in both |client_capabilities| and
 | 
| +// |host_capabilities| sets.
 | 
| +std::string IntersectCapabilities(const std::string& client_capabilities,
 | 
| +                                  const std::string& host_capabilities);
 | 
| +
 | 
| +}  // namespace remoting
 | 
| +
 | 
| +#endif  // REMOTING_BASE_CAPABILITIES_H_
 | 
| 
 |