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

Side by Side Diff: ios/chrome/browser/geolocation/omnibox_geolocation_config.h

Issue 1103293002: [iOS] Upstream iOS geolocation code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_GEOLOCATION_OMNIBOX_GEOLOCATION_CONFIG_H_
6 #define IOS_CHROME_BROWSER_GEOLOCATION_OMNIBOX_GEOLOCATION_CONFIG_H_
7
8 #import <Foundation/Foundation.h>
9
10 #import "ios/chrome/browser/updatable_config/updatable_dictionary.h"
11
12 class GURL;
13
14 // Implements updatable configuration for using geolocation for Omnibox
15 // queries.
16 @interface OmniboxGeolocationConfig : UpdatableDictionary
17
18 // Returns singleton object for this class.
19 + (OmniboxGeolocationConfig*)sharedInstance;
20
21 // Returns YES if and only if |url| has a domain that is whitelisted for
22 // geolocation for Omnibox queries.
23 - (BOOL)URLHasEligibleDomain:(const GURL&)url;
24
25 @end
26
27 #endif // IOS_CHROME_BROWSER_GEOLOCATION_OMNIBOX_GEOLOCATION_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698