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

Unified Diff: util/mach/bootstrap.h

Issue 575823002: Drop 10.5 support (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 3 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 | « util/mac/process_types_test.cc ('k') | util/mach/bootstrap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/bootstrap.h
diff --git a/util/mach/bootstrap.h b/util/mach/bootstrap.h
deleted file mode 100644
index 0d4c3fe26f8bb28b2929969bf66ac192d7f801aa..0000000000000000000000000000000000000000
--- a/util/mach/bootstrap.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2014 The Crashpad Authors. All rights reserved.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#ifndef CRASHPAD_UTIL_MACH_BOOTSTRAP_H_
-#define CRASHPAD_UTIL_MACH_BOOTSTRAP_H_
-
-#include <mach/mach.h>
-
-#include <string>
-
-namespace crashpad {
-
-//! \brief Calls `bootstrap_check_in()` to check in with the bootstrap server.
-//!
-//! \param[in] bp The bootstrap server to check in with.
-//! \param[in] service_name The name of the service to check in.
-//! \param[out] service_port The receive right for the checked-in service.
-//!
-//! \return `BOOTSTRAP_SUCCESS` on success, with \a service_port set
-//! appropriately. Otherwise, any error that might be returned by
-//! `bootstrap_check_in()`.
-//!
-//! This function is a wrapper around `bootstrap_check_in()`, checking in with
-//! the bootstrap server at \a bp. It exists primarily for compatibility with
-//! Mac OS X 10.5, where it is not possible to call `bootstrap_check_in()` for a
-//! \a service_name that has not already been registered with the bootstrap
-//! server using `bootstrap_register()`. `bootstrap_register()` was deprecated
-//! in Mac OS X 10.5.
-kern_return_t BootstrapCheckIn(mach_port_t bp,
- const std::string& service_name,
- mach_port_t* service_port);
-
-} // namespace crashpad
-
-#endif // CRASHPAD_UTIL_MACH_MACH_MESSAGE_SERVER_H_
« no previous file with comments | « util/mac/process_types_test.cc ('k') | util/mach/bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698