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

Unified Diff: remoting/base/capabilities.h

Issue 13932020: Set the initial resolution of an RDP session to the client screen resolution if it is available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Clang Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/base/capabilities.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | remoting/base/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698