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

Unified Diff: chrome/common/service_process_util_mac.mm

Issue 2500263004: Remove ipc/unix_domain_socket_util.* (Closed)
Patch Set: Created 4 years, 1 month 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: chrome/common/service_process_util_mac.mm
diff --git a/chrome/common/service_process_util_mac.mm b/chrome/common/service_process_util_mac.mm
index 72987e3a8bf607d4b8d576390df8d215a27ae40f..32569a7725fcc10ee7cb440a06eb8a1a95b6f2a0 100644
--- a/chrome/common/service_process_util_mac.mm
+++ b/chrome/common/service_process_util_mac.mm
@@ -28,7 +28,7 @@
#include "chrome/common/mac/launchd.h"
#include "chrome/common/service_process_util_posix.h"
#include "components/version_info/version_info.h"
-#include "ipc/unix_domain_socket_util.h"
+#include "mojo/edk/embedder/named_platform_handle_utils.h"
@interface NSFileManager (YosemiteSDK)
- (BOOL)getRelationship:(NSURLRelationship*)outRelationship
@@ -95,7 +95,7 @@ base::FilePath GetServiceProcessSocketName() {
PathService::Get(base::DIR_TEMP, &socket_name);
std::string pipe_name = GetServiceProcessScopedName("srv");
socket_name = socket_name.Append(pipe_name);
- CHECK_LT(socket_name.value().size(), IPC::kMaxSocketNameLength);
+ CHECK_LT(socket_name.value().size(), mojo::edk::kMaxSocketNameLength);
return socket_name;
}

Powered by Google App Engine
This is Rietveld 408576698