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

Side by Side Diff: chrome/browser/dom_distiller/dom_distiller_service_factory.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/dom_distiller/dom_distiller_service_factory.h" 5 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/sequenced_task_runner.h"
9 #include "base/task_scheduler/post_task.h" 10 #include "base/task_scheduler/post_task.h"
10 #include "chrome/browser/profiles/incognito_helpers.h" 11 #include "chrome/browser/profiles/incognito_helpers.h"
11 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
12 #include "components/dom_distiller/content/browser/distiller_page_web_contents.h " 13 #include "components/dom_distiller/content/browser/distiller_page_web_contents.h "
13 #include "components/dom_distiller/core/article_entry.h" 14 #include "components/dom_distiller/core/article_entry.h"
14 #include "components/dom_distiller/core/distiller.h" 15 #include "components/dom_distiller/core/distiller.h"
15 #include "components/dom_distiller/core/dom_distiller_store.h" 16 #include "components/dom_distiller/core/dom_distiller_store.h"
16 #include "components/keyed_service/content/browser_context_dependency_manager.h" 17 #include "components/keyed_service/content/browser_context_dependency_manager.h"
17 #include "components/leveldb_proto/proto_database.h" 18 #include "components/leveldb_proto/proto_database.h"
18 #include "components/leveldb_proto/proto_database_impl.h" 19 #include "components/leveldb_proto/proto_database_impl.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 return service; 98 return service;
98 } 99 }
99 100
100 content::BrowserContext* DomDistillerServiceFactory::GetBrowserContextToUse( 101 content::BrowserContext* DomDistillerServiceFactory::GetBrowserContextToUse(
101 content::BrowserContext* context) const { 102 content::BrowserContext* context) const {
102 // Makes normal profile and off-the-record profile use same service instance. 103 // Makes normal profile and off-the-record profile use same service instance.
103 return chrome::GetBrowserContextRedirectedInIncognito(context); 104 return chrome::GetBrowserContextRedirectedInIncognito(context);
104 } 105 }
105 106
106 } // namespace dom_distiller 107 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698