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

Unified Diff: remoting/host/username.h

Issue 112353002: Move remoting::GetUsername() from remoting/base to remoting/host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/remoting_me2me_host.cc ('k') | remoting/host/username.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/username.h
diff --git a/remoting/host/username.h b/remoting/host/username.h
new file mode 100644
index 0000000000000000000000000000000000000000..28fc2ae28f23b583a87cb42a520202359cbe99af
--- /dev/null
+++ b/remoting/host/username.h
@@ -0,0 +1,18 @@
+// Copyright 2013 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_USERNAME_H_
+#define REMOTING_HOST_USERNAME_H_
+
+#include <string>
+
+namespace remoting {
+
+// Returns the username associated with this process, or the empty string on
+// error or if not implemented.
+std::string GetUsername();
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_USERNAME_H_
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/username.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698