Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / ios / chrome / browser / geolocation / omnibox_geolocation_config.h
blob1eac6d10e2e4eb15e2d4111e679b86024f6d09f6
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.
5 #ifndef IOS_CHROME_BROWSER_GEOLOCATION_OMNIBOX_GEOLOCATION_CONFIG_H_
6 #define IOS_CHROME_BROWSER_GEOLOCATION_OMNIBOX_GEOLOCATION_CONFIG_H_
8 #import <Foundation/Foundation.h>
10 #import "ios/chrome/browser/updatable_config/updatable_dictionary.h"
12 class GURL;
14 // Implements updatable configuration for using geolocation for Omnibox
15 // queries.
16 @interface OmniboxGeolocationConfig : UpdatableDictionary
18 // Returns singleton object for this class.
19 + (OmniboxGeolocationConfig*)sharedInstance;
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;
25 @end
27 #endif // IOS_CHROME_BROWSER_GEOLOCATION_OMNIBOX_GEOLOCATION_CONFIG_H_