diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 04:04:57 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 04:04:57 +0000 |
commit | 31014afc104172d9607ba2a1f14cec4b3a671216 (patch) | |
tree | 5e34843f6f9b8dd6ec572b52a991d2c15bfa7ece /remoting/base/util.h | |
parent | df61e2ba8a51419639ed39dc58a25e783005a2cd (diff) | |
download | chromium_src-31014afc104172d9607ba2a1f14cec4b3a671216.zip chromium_src-31014afc104172d9607ba2a1f14cec4b3a671216.tar.gz chromium_src-31014afc104172d9607ba2a1f14cec4b3a671216.tar.bz2 |
Added support of keyboard, mouse and clipboard events to DesktopSessionAgent.
BUG=134694
Review URL: https://chromiumcodereview.appspot.com/11417094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/base/util.h')
-rw-r--r-- | remoting/base/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/base/util.h b/remoting/base/util.h index a628cb0..a627c92 100644 --- a/remoting/base/util.h +++ b/remoting/base/util.h @@ -96,6 +96,9 @@ std::string ReplaceLfByCrLf(const std::string& in); // Replaces every occurrence of "\r\n" in a string by "\n". 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); + } // namespace remoting #endif // REMOTING_BASE_UTIL_H_ |