Chromium Code Reviews| Index: remoting/base/util.h |
| diff --git a/remoting/base/util.h b/remoting/base/util.h |
| index e6abe0fa98c54441170e8582e8586e8b9fe620b2..7c5351b6979ccddb61f4225867028a79d0863207 100644 |
| --- a/remoting/base/util.h |
| +++ b/remoting/base/util.h |
| @@ -92,6 +92,13 @@ 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 true if GetUsername() is implemented on this platform. |
| +bool CanGetUsername(); |
|
Wez
2013/03/29 17:27:57
Semantically there's no difference between this no
Lambros
2013/03/29 19:30:22
Done.
|
| + |
| +// Returns the username associated with this process, or the empty string on |
| +// error. |
| +std::string GetUsername(); |
| + |
| } // namespace remoting |
| #endif // REMOTING_BASE_UTIL_H_ |