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

Side by Side Diff: ios/chrome/browser/ntp_tiles/ios_most_visited_sites_factory.cc

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
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 #include "ios/chrome/browser/ntp_tiles/ios_most_visited_sites_factory.h" 5 #include "ios/chrome/browser/ntp_tiles/ios_most_visited_sites_factory.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/threading/sequenced_worker_pool.h"
9 #include "components/history/core/browser/top_sites.h" 8 #include "components/history/core/browser/top_sites.h"
10 #include "components/image_fetcher/image_fetcher_impl.h" 9 #include "components/image_fetcher/image_fetcher_impl.h"
11 #include "components/keyed_service/core/service_access_type.h" 10 #include "components/keyed_service/core/service_access_type.h"
12 #include "components/ntp_tiles/icon_cacher_impl.h" 11 #include "components/ntp_tiles/icon_cacher_impl.h"
13 #include "components/ntp_tiles/most_visited_sites.h" 12 #include "components/ntp_tiles/most_visited_sites.h"
14 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 13 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
15 #include "ios/chrome/browser/favicon/favicon_service_factory.h" 14 #include "ios/chrome/browser/favicon/favicon_service_factory.h"
16 #include "ios/chrome/browser/history/top_sites_factory.h" 15 #include "ios/chrome/browser/history/top_sites_factory.h"
17 #include "ios/chrome/browser/ntp_tiles/ios_popular_sites_factory.h" 16 #include "ios/chrome/browser/ntp_tiles/ios_popular_sites_factory.h"
18 #include "ios/chrome/browser/suggestions/ios_image_decoder_impl.h" 17 #include "ios/chrome/browser/suggestions/ios_image_decoder_impl.h"
(...skipping 14 matching lines...) Expand all
33 suggestions::SuggestionsServiceFactory::GetForBrowserState(browser_state), 32 suggestions::SuggestionsServiceFactory::GetForBrowserState(browser_state),
34 IOSPopularSitesFactory::NewForBrowserState(browser_state), 33 IOSPopularSitesFactory::NewForBrowserState(browser_state),
35 base::MakeUnique<ntp_tiles::IconCacherImpl>( 34 base::MakeUnique<ntp_tiles::IconCacherImpl>(
36 ios::FaviconServiceFactory::GetForBrowserState( 35 ios::FaviconServiceFactory::GetForBrowserState(
37 browser_state, ServiceAccessType::IMPLICIT_ACCESS), 36 browser_state, ServiceAccessType::IMPLICIT_ACCESS),
38 base::MakeUnique<image_fetcher::ImageFetcherImpl>( 37 base::MakeUnique<image_fetcher::ImageFetcherImpl>(
39 suggestions::CreateIOSImageDecoder(task_runner), 38 suggestions::CreateIOSImageDecoder(task_runner),
40 browser_state->GetRequestContext())), 39 browser_state->GetRequestContext())),
41 nil); 40 nil);
42 } 41 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/net/cookie_util.mm ('k') | ios/chrome/browser/ntp_tiles/ios_popular_sites_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698