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

Unified Diff: content/common/child_process_sandbox_support_impl_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/common/child_process_sandbox_support_impl_linux.cc
diff --git a/content/common/child_process_sandbox_support_impl_linux.cc b/content/common/child_process_sandbox_support_impl_linux.cc
index 7c9ee4e5c53d57601d53a0a8e3e92f56f8773db2..464a2e0bebe994730662edef26d8c49b1b5e82b6 100644
--- a/content/common/child_process_sandbox_support_impl_linux.cc
+++ b/content/common/child_process_sandbox_support_impl_linux.cc
@@ -33,8 +33,8 @@ void GetFallbackFontForCharacter(int32_t character,
request.WriteString(preferred_locale);
uint8_t buf[512];
- const ssize_t n = UnixDomainSocket::SendRecvMsg(GetSandboxFD(), buf,
- sizeof(buf), NULL, request);
+ const ssize_t n = base::UnixDomainSocket::SendRecvMsg(
+ GetSandboxFD(), buf, sizeof(buf), NULL, request);
std::string family_name;
std::string filename;
@@ -85,8 +85,8 @@ void GetRenderStyleForStrike(const char* family,
request.WriteUInt16(pixel_size);
uint8_t buf[512];
- const ssize_t n = UnixDomainSocket::SendRecvMsg(GetSandboxFD(), buf,
- sizeof(buf), NULL, request);
+ const ssize_t n = base::UnixDomainSocket::SendRecvMsg(
+ GetSandboxFD(), buf, sizeof(buf), NULL, request);
if (n == -1)
return;
@@ -127,8 +127,8 @@ int MatchFontWithFallback(const std::string& face,
request.WriteUInt32(fallback_family);
uint8_t reply_buf[64];
int fd = -1;
- UnixDomainSocket::SendRecvMsg(GetSandboxFD(), reply_buf, sizeof(reply_buf),
- &fd, request);
+ base::UnixDomainSocket::SendRecvMsg(
+ GetSandboxFD(), reply_buf, sizeof(reply_buf), &fd, request);
return fd;
}
« no previous file with comments | « content/browser/zygote_host/zygote_host_impl_linux.cc ('k') | content/common/child_process_sandbox_support_impl_shm_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698