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

Unified Diff: content/zygote/zygote_main_linux.cc

Issue 1146813011: Move UnixDomainSocket to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/zygote/zygote_main_linux.cc
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
index 1aee6bd77ad76b56359f3f5a306f164c3ac4dda6..5982f05c5ec2618224ef5cafd5a836cba48fc64a 100644
--- a/content/zygote/zygote_main_linux.cc
+++ b/content/zygote/zygote_main_linux.cc
@@ -99,9 +99,8 @@ static void ProxyLocaltimeCallToBrowser(time_t input, struct tm* output,
std::string(reinterpret_cast<char*>(&input), sizeof(input)));
uint8_t reply_buf[512];
- const ssize_t r = UnixDomainSocket::SendRecvMsg(
- GetSandboxFD(), reply_buf, sizeof(reply_buf), NULL,
- request);
+ const ssize_t r = base::UnixDomainSocket::SendRecvMsg(
+ GetSandboxFD(), reply_buf, sizeof(reply_buf), NULL, request);
if (r == -1) {
memset(output, 0, sizeof(struct tm));
return;
@@ -557,10 +556,10 @@ bool ZygoteMain(const MainFunctionParams& params,
if (using_layer1_sandbox) {
// Let the ZygoteHost know we're booting up.
- CHECK(UnixDomainSocket::SendMsg(kZygoteSocketPairFd,
- kZygoteBootMessage,
- sizeof(kZygoteBootMessage),
- std::vector<int>()));
+ CHECK(base::UnixDomainSocket::SendMsg(kZygoteSocketPairFd,
+ kZygoteBootMessage,
+ sizeof(kZygoteBootMessage),
+ std::vector<int>()));
}
VLOG(1) << "ZygoteMain: initializing " << fork_delegates.size()
« no previous file with comments | « content/zygote/zygote_linux.cc ('k') | sandbox/linux/integration_tests/namespace_unix_domain_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698