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

Side by Side Diff: ios/chrome/app/spotlight/topsites_spotlight_manager.h

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years 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 2015 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_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_
6 #define IOS_CHROME_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_
7
8 #import "ios/chrome/app/spotlight/base_spotlight_manager.h"
9
10 namespace ios {
11 class ChromeBrowserState;
12 } // namespace ios
13
14 // This spotlight manager handles indexing of sites shown on the NTP. Because of
15 // privacy concerns, only sites shown on the NTP are indexed; therefore, this
16 // manager mirrors the functionality seen in google_landing_controller. It uses
17 // suggestions (most likely) as a data source if the user is logged in and top
18 // sites otherwise.
19
20 @interface TopSitesSpotlightManager : BaseSpotlightManager
21
22 + (TopSitesSpotlightManager*)topSitesSpotlightManagerWithBrowserState:
23 (ios::ChromeBrowserState*)browserState;
24
25 // Reindexes all top sites, batching reindexes by 1 second.
26 - (void)reindexTopSites;
27
28 @end
29
30 #endif // IOS_CHROME_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/spotlight/spotlight_util.mm ('k') | ios/chrome/app/spotlight/topsites_spotlight_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698