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

Unified Diff: sandbox/mac/xpc.cc

Issue 1853713004: mac: Remove some 10.6-SDK-only sandbox code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 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 | « sandbox/mac/xpc.h ('k') | sandbox/mac/xpc_message_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/xpc.cc
diff --git a/sandbox/mac/xpc.cc b/sandbox/mac/xpc.cc
deleted file mode 100644
index b8d526bdad745c20a8bbcec34c24cdfd9830ba1b..0000000000000000000000000000000000000000
--- a/sandbox/mac/xpc.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "sandbox/mac/xpc.h"
-
-namespace sandbox {
-
-bool InitializeXPC() {
-#if !defined(MAC_OS_X_VERSION_10_7) || \
- MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
- std::vector<std::string> path_list;
- path_list.push_back("/usr/lib/system/libxpc.dylib");
-
- sandbox_mac::StubPathMap path_map;
- path_map[sandbox_mac::kModuleXpc_stubs] = path_list;
- path_map[sandbox_mac::kModuleXpc_private_stubs] = path_list;
-
- return sandbox_mac::InitializeStubs(path_map);
-#else
- return true;
-#endif
-}
-
-} // namespace sandbox
« no previous file with comments | « sandbox/mac/xpc.h ('k') | sandbox/mac/xpc_message_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698