| 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 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SPOTLIGHT_SPOTLIGHT_PROVIDER_H | 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SPOTLIGHT_SPOTLIGHT_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SPOTLIGHT_SPOTLIGHT_PROVIDER_H | 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SPOTLIGHT_SPOTLIGHT_PROVIDER_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 #import "base/macros.h" | 10 #import "base/macros.h" |
| 11 | 11 |
| 12 class SpotlightProvider { | 12 class SpotlightProvider { |
| 13 public: | 13 public: |
| 14 SpotlightProvider() {} | 14 SpotlightProvider() {} |
| 15 virtual ~SpotlightProvider() {} | 15 virtual ~SpotlightProvider() {} |
| 16 | 16 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 29 // Returns the id for the custom item containing item ID in Spotlight index. | 29 // Returns the id for the custom item containing item ID in Spotlight index. |
| 30 virtual NSString* GetCustomAttributeItemID(); | 30 virtual NSString* GetCustomAttributeItemID(); |
| 31 | 31 |
| 32 // Returns additional keywords that are added to all Spotlight items. | 32 // Returns additional keywords that are added to all Spotlight items. |
| 33 virtual NSArray* GetAdditionalKeywords(); | 33 virtual NSArray* GetAdditionalKeywords(); |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 DISALLOW_COPY_AND_ASSIGN(SpotlightProvider); | 36 DISALLOW_COPY_AND_ASSIGN(SpotlightProvider); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SPOTLIGHT_SPOTLIGHT_PROVIDER_H | 39 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SPOTLIGHT_SPOTLIGHT_PROVIDER_H_ |
| OLD | NEW |