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

Unified Diff: remoting/base/util.h

Issue 13312005: Don't use $USER for Local Login check (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 7 years, 9 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/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/util.h
diff --git a/remoting/base/util.h b/remoting/base/util.h
index e6abe0fa98c54441170e8582e8586e8b9fe620b2..8f70005b8dc5fd3fe124a2c9f07881f1d76e3ff4 100644
--- a/remoting/base/util.h
+++ b/remoting/base/util.h
@@ -92,6 +92,10 @@ std::string ReplaceCrLfByLf(const std::string& in);
// Checks if the given string is a valid UTF-8 string.
bool StringIsUtf8(const char* data, size_t length);
+// Returns the username associated with this process, or the empty string on
+// error or if not implemented.
+std::string GetUsername();
+
} // namespace remoting
#endif // REMOTING_BASE_UTIL_H_
« no previous file with comments | « no previous file | remoting/base/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698