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

Side by Side Diff: ios/chrome/browser/geolocation/CLLocation+OmniboxGeolocation.h

Issue 2562403003: Fix include guards of files in src/ios. (Closed)
Patch Set: Rebase on origin/master. Created 4 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef IOS_CHROME_BROWSER_GEOLOCATION_CLLOCATION_OMNIBOX_GEOLOCATION_H_ 5 #ifndef IOS_CHROME_BROWSER_GEOLOCATION_CLLOCATION_OMNIBOXGEOLOCATION_H_
6 #define IOS_CHROME_BROWSER_GEOLOCATION_CLLOCATION_OMNIBOX_GEOLOCATION_H_ 6 #define IOS_CHROME_BROWSER_GEOLOCATION_CLLOCATION_OMNIBOXGEOLOCATION_H_
7 7
8 #import <CoreLocation/CoreLocation.h> 8 #import <CoreLocation/CoreLocation.h>
9 9
10 @interface CLLocation (OmniboxGeolocation) 10 @interface CLLocation (OmniboxGeolocation)
11 11
12 // The elapsed time in seconds to acquire this location. Defaults to 0 if not 12 // The elapsed time in seconds to acquire this location. Defaults to 0 if not
13 // set. 13 // set.
14 @property(nonatomic, assign, setter=cr_setAcquisitionInterval:) 14 @property(nonatomic, assign, setter=cr_setAcquisitionInterval:)
15 NSTimeInterval cr_acquisitionInterval; 15 NSTimeInterval cr_acquisitionInterval;
16 16
17 // Returns YES if and only if this location is fresh enough to use for an 17 // Returns YES if and only if this location is fresh enough to use for an
18 // Omnibox query. 18 // Omnibox query.
19 - (BOOL)cr_isFreshEnough; 19 - (BOOL)cr_isFreshEnough;
20 20
21 // Returns YES if and only if this location is old enough to try refreshing the 21 // Returns YES if and only if this location is old enough to try refreshing the
22 // device location. 22 // device location.
23 - (BOOL)cr_shouldRefresh; 23 - (BOOL)cr_shouldRefresh;
24 24
25 @end 25 @end
26 26
27 #endif // IOS_CHROME_BROWSER_GEOLOCATION_CLLOCATION_OMNIBOX_GEOLOCATION_H_ 27 #endif // IOS_CHROME_BROWSER_GEOLOCATION_CLLOCATION_OMNIBOXGEOLOCATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698