Commit 6885121c authored by Avi Drissman's avatar Avi Drissman Committed by Commit Bot

One last tweak to the commentary in sdk_forward_declarations.

Bug: none
Change-Id: I355076b24666e0b17fe56ca52c7c878e0f1975fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065854
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743221}
parent 7b29a982
...@@ -3,10 +3,7 @@ ...@@ -3,10 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// This file contains forward declarations for items in later SDKs than the // This file contains forward declarations for items in later SDKs than the
// default one with which Chromium is built (currently 10.10). // default one with which Chromium is built.
// If you call any function from this header, be sure to check at runtime for
// respondsToSelector: before calling these functions (else your code will crash
// on older OS X versions that chrome still supports).
#ifndef BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ #ifndef BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
#define BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ #define BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
...@@ -29,7 +26,8 @@ ...@@ -29,7 +26,8 @@
// b. Include all API_AVAILABLE/NS_CLASS_AVAILABLE_MAC annotations // b. Include all API_AVAILABLE/NS_CLASS_AVAILABLE_MAC annotations
// c. Optionally import frameworks // c. Optionally import frameworks
// 2. In your source file: // 2. In your source file:
// a. Correctly use @available to annotate availability // a. Correctly annotate availability with @available/__builtin_available/
// API_AVAILABLE
// //
// This way, when the SDK is rolled, the section full of definitions // This way, when the SDK is rolled, the section full of definitions
// corresponding to it can be easily deleted. // corresponding to it can be easily deleted.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment