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

Side by Side Diff: base/mac/sdk_forward_declarations.h

Issue 2068753002: Include CoreBluetooth.h from files that need it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains forward declarations for items in later SDKs than the 5 // This file contains forward declarations for items in later SDKs than the
6 // default one with which Chromium is built (currently 10.10). 6 // default one with which Chromium is built (currently 10.10).
7 // If you call any function from this header, be sure to check at runtime for 7 // If you call any function from this header, be sure to check at runtime for
8 // respondsToSelector: before calling these functions (else your code will crash 8 // respondsToSelector: before calling these functions (else your code will crash
9 // on older OS X versions that chrome still supports). 9 // on older OS X versions that chrome still supports).
10 10
11 #ifndef BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ 11 #ifndef BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
12 #define BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ 12 #define BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
13 13
14 #import <AppKit/AppKit.h> 14 #import <AppKit/AppKit.h>
15 #import <CoreBluetooth/CoreBluetooth.h>
15 #import <CoreWLAN/CoreWLAN.h> 16 #import <CoreWLAN/CoreWLAN.h>
16 #import <ImageCaptureCore/ImageCaptureCore.h> 17 #import <ImageCaptureCore/ImageCaptureCore.h>
17 #import <IOBluetooth/IOBluetooth.h> 18 #import <IOBluetooth/IOBluetooth.h>
18 #include <stdint.h> 19 #include <stdint.h>
19 20
20 #include "base/base_export.h" 21 #include "base/base_export.h"
21 22
22 // ---------------------------------------------------------------------------- 23 // ----------------------------------------------------------------------------
23 // Define typedefs, enums, and protocols not available in the version of the 24 // Define typedefs, enums, and protocols not available in the version of the
24 // OSX SDK being compiled against. 25 // OSX SDK being compiled against.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 222
222 // ---------------------------------------------------------------------------- 223 // ----------------------------------------------------------------------------
223 // The symbol for kCWSSIDDidChangeNotification is available in the 224 // The symbol for kCWSSIDDidChangeNotification is available in the
224 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not 225 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not
225 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, 226 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK,
226 // declare the symbol. 227 // declare the symbol.
227 // ---------------------------------------------------------------------------- 228 // ----------------------------------------------------------------------------
228 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; 229 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification;
229 230
230 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ 231 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698