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

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

Issue 6591034: Move core pieces of geolocation from chrome to content.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix Linux build Created 9 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 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 Google Gear project: 5 // The remainder of this file is copied from the Google Gear 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 24 matching lines...) Expand all
35 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 35 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
36 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 36 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
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 CHROME_BROWSER_GEOLOCATION_OSX_WIFI_H_ 45 #ifndef CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_
46 #define CHROME_BROWSER_GEOLOCATION_OSX_WIFI_H_ 46 #define CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_
47 #pragma once 47 #pragma once
48 48
49 #include <CoreFoundation/CoreFoundation.h> 49 #include <CoreFoundation/CoreFoundation.h>
50 50
51 extern "C" { 51 extern "C" {
52 52
53 typedef SInt32 WIErr; 53 typedef SInt32 WIErr;
54 54
55 // A WirelessContext should be created using WirelessAttach 55 // A WirelessContext should be created using WirelessAttach
56 // before any other Wireless functions are called. WirelessDetach 56 // before any other Wireless functions are called. WirelessDetach
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // network. 93 // network.
94 // 94 //
95 // If stripDups != 0 only one bases tation for each SSID will be returned. 95 // If stripDups != 0 only one bases tation for each SSID will be returned.
96 typedef WIErr (*WirelessScanSplitFunction)(WirelessContext* inContext, 96 typedef WIErr (*WirelessScanSplitFunction)(WirelessContext* inContext,
97 CFArrayRef* apList, 97 CFArrayRef* apList,
98 CFArrayRef* adhocList, 98 CFArrayRef* adhocList,
99 const UInt32 stripDups); 99 const UInt32 stripDups);
100 100
101 } // extern "C" 101 } // extern "C"
102 102
103 #endif // CHROME_BROWSER_GEOLOCATION_OSX_WIFI_H_ 103 #endif // CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698