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

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

Issue 2829223004: Rename GoogleLandingController to GoogleLandingViewController.
Patch Set: Rebase Created 3 years, 8 months 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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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_CHROME_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_ 5 #ifndef IOS_CHROME_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_
6 #define IOS_CHROME_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_ 6 #define IOS_CHROME_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_
7 7
8 #import "ios/chrome/app/spotlight/base_spotlight_manager.h" 8 #import "ios/chrome/app/spotlight/base_spotlight_manager.h"
9 9
10 namespace ios { 10 namespace ios {
11 class ChromeBrowserState; 11 class ChromeBrowserState;
12 } // namespace ios 12 } // namespace ios
13 13
14 // This spotlight manager handles indexing of sites shown on the NTP. Because of 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 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 16 // manager mirrors the functionality seen in google_landing VC. It uses
17 // suggestions (most likely) as a data source if the user is logged in and top 17 // suggestions (most likely) as a data source if the user is logged in and top
18 // sites otherwise. 18 // sites otherwise.
19 19
20 @interface TopSitesSpotlightManager : BaseSpotlightManager 20 @interface TopSitesSpotlightManager : BaseSpotlightManager
21 21
22 + (TopSitesSpotlightManager*)topSitesSpotlightManagerWithBrowserState: 22 + (TopSitesSpotlightManager*)topSitesSpotlightManagerWithBrowserState:
23 (ios::ChromeBrowserState*)browserState; 23 (ios::ChromeBrowserState*)browserState;
24 24
25 // Reindexes all top sites, batching reindexes by 1 second. 25 // Reindexes all top sites, batching reindexes by 1 second.
26 - (void)reindexTopSites; 26 - (void)reindexTopSites;
27 27
28 @end 28 @end
29 29
30 #endif // IOS_CHROME_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_ 30 #endif // IOS_CHROME_APP_SPOTLIGHT_TOPSITES_SPOTLIGHT_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698