blob: 9e356fd3d9a7f4da8a5a06e8439dffb23c698231 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "ios/public/provider/chrome/browser/spotlight/test_spotlight_provider.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
bool TestSpotlightProvider::IsSpotlightEnabled() {
return true;
}
NSString* TestSpotlightProvider::GetBookmarkDomain() {
return @"org.chromium.bookmarks";
}
NSString* TestSpotlightProvider::GetTopSitesDomain() {
return @"org.chromium.topsites";
}
NSString* TestSpotlightProvider::GetActionsDomain() {
return @"org.chromium.actions";
}
NSString* TestSpotlightProvider::GetCustomAttributeItemID() {
return @"OrgChromiumItemID";
}
NSArray* TestSpotlightProvider::GetAdditionalKeywords() {
return @[ @"chromium" ];
}