OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #import "ios/public/provider/chrome/browser/spotlight/spotlight_provider.h" | 5 #import "ios/public/provider/chrome/browser/spotlight/spotlight_provider.h" |
6 | 6 |
| 7 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 8 #error "This file requires ARC support." |
| 9 #endif |
| 10 |
7 bool SpotlightProvider::IsSpotlightEnabled() { | 11 bool SpotlightProvider::IsSpotlightEnabled() { |
8 return false; | 12 return false; |
9 } | 13 } |
10 | 14 |
11 NSString* SpotlightProvider::GetBookmarkDomain() { | 15 NSString* SpotlightProvider::GetBookmarkDomain() { |
12 return nil; | 16 return nil; |
13 } | 17 } |
14 | 18 |
15 NSString* SpotlightProvider::GetTopSitesDomain() { | 19 NSString* SpotlightProvider::GetTopSitesDomain() { |
16 return nil; | 20 return nil; |
17 } | 21 } |
18 | 22 |
19 NSString* SpotlightProvider::GetActionsDomain() { | 23 NSString* SpotlightProvider::GetActionsDomain() { |
20 return nil; | 24 return nil; |
21 } | 25 } |
22 | 26 |
23 NSString* SpotlightProvider::GetCustomAttributeItemID() { | 27 NSString* SpotlightProvider::GetCustomAttributeItemID() { |
24 return nil; | 28 return nil; |
25 } | 29 } |
26 | 30 |
27 NSArray* SpotlightProvider::GetAdditionalKeywords() { | 31 NSArray* SpotlightProvider::GetAdditionalKeywords() { |
28 return nil; | 32 return nil; |
29 } | 33 } |
OLD | NEW |