| Index: chrome/browser/android/ntp/most_visited_sites.h
|
| diff --git a/components/ntp_tiles/most_visited_sites.h b/chrome/browser/android/ntp/most_visited_sites.h
|
| similarity index 95%
|
| copy from components/ntp_tiles/most_visited_sites.h
|
| copy to chrome/browser/android/ntp/most_visited_sites.h
|
| index 18e3d6fe1748db20468264f8ba4097c5f65e6502..d6bdb125b9a2220fd94a1a060fd519f6f108aa73 100644
|
| --- a/components/ntp_tiles/most_visited_sites.h
|
| +++ b/chrome/browser/android/ntp/most_visited_sites.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_
|
| -#define COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_
|
| +#ifndef CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_
|
| +#define CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_
|
|
|
| #include <stddef.h>
|
|
|
| @@ -16,9 +16,9 @@
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/scoped_observer.h"
|
| +#include "chrome/browser/android/ntp/popular_sites.h"
|
| #include "components/history/core/browser/history_types.h"
|
| #include "components/history/core/browser/top_sites_observer.h"
|
| -#include "components/ntp_tiles/popular_sites.h"
|
| #include "components/suggestions/proto/suggestions.pb.h"
|
| #include "components/suggestions/suggestions_service.h"
|
| #include "url/gurl.h"
|
| @@ -128,8 +128,7 @@ class MostVisitedSites : public history::TopSitesObserver,
|
| DISALLOW_COPY_AND_ASSIGN(Suggestion);
|
| };
|
|
|
| - MostVisitedSites(scoped_refptr<base::SequencedWorkerPool> blocking_pool,
|
| - PrefService* prefs,
|
| + MostVisitedSites(PrefService* prefs,
|
| const TemplateURLService* template_url_service,
|
| variations::VariationsService* variations_service,
|
| net::URLRequestContextGetter* download_context,
|
| @@ -276,14 +275,10 @@ class MostVisitedSites : public history::TopSitesObserver,
|
|
|
| SuggestionsVector current_suggestions_;
|
|
|
| - base::ThreadChecker thread_checker_;
|
| - scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
|
| - scoped_refptr<base::TaskRunner> blocking_runner_;
|
| -
|
| // For callbacks may be run after destruction.
|
| base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MostVisitedSites);
|
| };
|
|
|
| -#endif // COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_
|
| +#endif // CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_
|
|
|