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

Unified Diff: remoting/host/host_attributes.h

Issue 2464293002: [Chromoting] GetHostAttributes with tests (Closed)
Patch Set: Resolve review comments Created 4 years, 1 month 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 | « remoting/host/BUILD.gn ('k') | remoting/host/host_attributes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_attributes.h
diff --git a/remoting/host/host_attributes.h b/remoting/host/host_attributes.h
new file mode 100644
index 0000000000000000000000000000000000000000..1745480a296fda74b4e969579c8b221fd299ca26
--- /dev/null
+++ b/remoting/host/host_attributes.h
@@ -0,0 +1,20 @@
+// Copyright 2016 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_HOST_HOST_ATTRIBUTES_H_
+#define REMOTING_HOST_HOST_ATTRIBUTES_H_
+
+#include <string>
+
+namespace remoting {
+
+// Returns a comma-separated string to represent host attributes. The result may
+// vary if any system configurations change. So consumers should not cache the
+// result.
+// This function is thread-safe.
+std::string GetHostAttributes();
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_HOST_ATTRIBUTES_H_
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/host_attributes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698