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

Side by Side Diff: chrome/browser/android/logo_service.cc

Issue 2690533002: Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/android/logo_service.h" 5 #include "chrome/browser/android/logo_service.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/threading/sequenced_worker_pool.h"
9 #include "base/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
10 #include "chrome/browser/image_decoder.h" 11 #include "chrome/browser/image_decoder.h"
11 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/search_engines/template_url_service_factory.h" 13 #include "chrome/browser/search_engines/template_url_service_factory.h"
13 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" 14 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h"
14 #include "components/keyed_service/content/browser_context_dependency_manager.h" 15 #include "components/keyed_service/content/browser_context_dependency_manager.h"
15 #include "components/search_engines/template_url_service.h" 16 #include "components/search_engines/template_url_service.h"
16 #include "components/search_provider_logos/google_logo_api.h" 17 #include "components/search_provider_logos/google_logo_api.h"
17 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
18 #include "net/url_request/url_request_context_getter.h" 19 #include "net/url_request/url_request_context_getter.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 151 }
151 152
152 LogoServiceFactory::~LogoServiceFactory() {} 153 LogoServiceFactory::~LogoServiceFactory() {}
153 154
154 KeyedService* LogoServiceFactory::BuildServiceInstanceFor( 155 KeyedService* LogoServiceFactory::BuildServiceInstanceFor(
155 content::BrowserContext* context) const { 156 content::BrowserContext* context) const {
156 Profile* profile = static_cast<Profile*>(context); 157 Profile* profile = static_cast<Profile*>(context);
157 DCHECK(!profile->IsOffTheRecord()); 158 DCHECK(!profile->IsOffTheRecord());
158 return new LogoService(profile); 159 return new LogoService(profile);
159 } 160 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698