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

Side by Side Diff: content/browser/geolocation/osx_wifi.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // The remainder of this file is copied from the Gears project: 5 // The remainder of this file is copied from the Gears project:
6 // http://code.google.com/p/gears/source/browse/trunk/gears/geolocation/osx_wifi .h 6 // http://code.google.com/p/gears/source/browse/trunk/gears/geolocation/osx_wifi .h
7 7
8 // The contents of this file are taken from Apple80211.h from the iStumbler 8 // The contents of this file are taken from Apple80211.h from the iStumbler
9 // project (http://www.istumbler.net). This project is released under the BSD 9 // project (http://www.istumbler.net). This project is released under the BSD
10 // license with the following restrictions. 10 // license with the following restrictions.
(...skipping 26 matching lines...) Expand all
37 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 37 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
38 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 38 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
39 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 // 40 //
41 // This is the reverse engineered header for the Apple80211 private framework. 41 // This is the reverse engineered header for the Apple80211 private framework.
42 // The framework can be found at 42 // The framework can be found at
43 // /System/Library/PrivateFrameworks/Apple80211.framework. 43 // /System/Library/PrivateFrameworks/Apple80211.framework.
44 44
45 #ifndef CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ 45 #ifndef CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_
46 #define CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ 46 #define CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_
47 #pragma once
48 47
49 #include <CoreFoundation/CoreFoundation.h> 48 #include <CoreFoundation/CoreFoundation.h>
50 49
51 extern "C" { 50 extern "C" {
52 51
53 typedef SInt32 WIErr; 52 typedef SInt32 WIErr;
54 53
55 // A WirelessContext should be created using WirelessAttach 54 // A WirelessContext should be created using WirelessAttach
56 // before any other Wireless functions are called. WirelessDetach 55 // before any other Wireless functions are called. WirelessDetach
57 // is used to dispose of a WirelessContext. 56 // is used to dispose of a WirelessContext.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // 93 //
95 // If stripDups != 0 only one bases tation for each SSID will be returned. 94 // If stripDups != 0 only one bases tation for each SSID will be returned.
96 typedef WIErr (*WirelessScanSplitFunction)(WirelessContext* inContext, 95 typedef WIErr (*WirelessScanSplitFunction)(WirelessContext* inContext,
97 CFArrayRef* apList, 96 CFArrayRef* apList,
98 CFArrayRef* adhocList, 97 CFArrayRef* adhocList,
99 const UInt32 stripDups); 98 const UInt32 stripDups);
100 99
101 } // extern "C" 100 } // extern "C"
102 101
103 #endif // CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ 102 #endif // CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/network_location_request.h ('k') | content/browser/geolocation/wifi_data_provider_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698