summaryrefslogtreecommitdiffstats
path: root/remoting/base/util.h
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-30 04:04:57 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-30 04:04:57 +0000
commit31014afc104172d9607ba2a1f14cec4b3a671216 (patch)
tree5e34843f6f9b8dd6ec572b52a991d2c15bfa7ece /remoting/base/util.h
parentdf61e2ba8a51419639ed39dc58a25e783005a2cd (diff)
downloadchromium_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.h3
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_