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

Unified Diff: chrome/common/service_process_util.h

Issue 982883003: Use fixed socket name instead of SecureSocketWithKey (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mon Mar 16 00:37:12 PDT 2015 Created 5 years, 9 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
« no previous file with comments | « chrome/common/mac/mock_launchd.cc ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util.h
diff --git a/chrome/common/service_process_util.h b/chrome/common/service_process_util.h
index 9c759d74ce5e462c505c0376caa929dc542d0a65..90676239cbf16f23fb48e44f3ce49f9293a9822e 100644
--- a/chrome/common/service_process_util.h
+++ b/chrome/common/service_process_util.h
@@ -32,21 +32,15 @@ class MessageLoopProxy;
// Return the IPC channel to connect to the service process.
IPC::ChannelHandle GetServiceProcessChannel();
-#if !defined(OS_MACOSX)
// Return a name that is scoped to this instance of the service process. We
// use the user-data-dir as a scoping prefix.
std::string GetServiceProcessScopedName(const std::string& append_str);
+#if !defined(OS_MACOSX)
// Return a name that is scoped to this instance of the service process. We
// use the user-data-dir and the version as a scoping prefix.
std::string GetServiceProcessScopedVersionedName(const std::string& append_str);
-#endif // OS_MACOSX
-
-#if defined(OS_MACOSX)
-// Return the name that is used to extract the socket path out of the
-// dictionary provided by launchd.
-NSString* GetServiceProcessLaunchDSocketEnvVar();
-#endif
+#endif // !OS_MACOSX
#if defined(OS_POSIX)
// Attempts to take a lock named |name|. If |waiting| is true then this will
« no previous file with comments | « chrome/common/mac/mock_launchd.cc ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698