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

Unified Diff: remoting/host/security_key/remote_security_key_ipc_constants.h

Issue 2003753002: Fix remoting_unittests that are failing on 32-bit linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed g_type_init changes Created 4 years, 7 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
Index: remoting/host/security_key/remote_security_key_ipc_constants.h
diff --git a/remoting/host/security_key/remote_security_key_ipc_constants.h b/remoting/host/security_key/remote_security_key_ipc_constants.h
index 4952735070227c2d8e28da20a30fce0d25865f5c..2f33aa35eb0d721ce4fdb00c2533a1b93078649e 100644
--- a/remoting/host/security_key/remote_security_key_ipc_constants.h
+++ b/remoting/host/security_key/remote_security_key_ipc_constants.h
@@ -19,6 +19,11 @@ const std::string& GetRemoteSecurityKeyIpcChannelName();
// Sets the name of the well-known IPC server channel for testing purposes.
void SetRemoteSecurityKeyIpcChannelNameForTest(const std::string& channel_name);
+// Returns a path appropriate for placing a channel name. Without this path
+// prefix, we may not have permission on linux to bind(2) a socket to a name in
+// the current directory.
+std::string GetChannelNamePathPrefixForTest();
+
} // namespace remoting
#endif // REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_IPC_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698