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

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

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 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 #include "ios/chrome/browser/dom_distiller/dom_distiller_service_factory.h" 5 #include "ios/chrome/browser/dom_distiller/dom_distiller_service_factory.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/macros.h"
8 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
9 #include "base/threading/sequenced_worker_pool.h" 10 #include "base/threading/sequenced_worker_pool.h"
10 #include "components/dom_distiller/core/article_entry.h" 11 #include "components/dom_distiller/core/article_entry.h"
11 #include "components/dom_distiller/core/distiller.h" 12 #include "components/dom_distiller/core/distiller.h"
12 #include "components/dom_distiller/core/dom_distiller_service.h" 13 #include "components/dom_distiller/core/dom_distiller_service.h"
13 #include "components/dom_distiller/core/dom_distiller_store.h" 14 #include "components/dom_distiller/core/dom_distiller_store.h"
14 #include "components/dom_distiller/ios/distiller_page_factory_ios.h" 15 #include "components/dom_distiller/ios/distiller_page_factory_ios.h"
15 #include "components/keyed_service/core/keyed_service.h" 16 #include "components/keyed_service/core/keyed_service.h"
16 #include "components/keyed_service/ios/browser_state_dependency_manager.h" 17 #include "components/keyed_service/ios/browser_state_dependency_manager.h"
17 #include "components/leveldb_proto/proto_database.h" 18 #include "components/leveldb_proto/proto_database.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 distiller_page_factory.Pass(), distilled_page_prefs.Pass())); 101 distiller_page_factory.Pass(), distilled_page_prefs.Pass()));
101 } 102 }
102 103
103 web::BrowserState* DomDistillerServiceFactory::GetBrowserStateToUse( 104 web::BrowserState* DomDistillerServiceFactory::GetBrowserStateToUse(
104 web::BrowserState* context) const { 105 web::BrowserState* context) const {
105 // Makes normal profile and off-the-record profile use same service instance. 106 // Makes normal profile and off-the-record profile use same service instance.
106 return GetBrowserStateRedirectedInIncognito(context); 107 return GetBrowserStateRedirectedInIncognito(context);
107 } 108 }
108 109
109 } // namespace dom_distiller 110 } // namespace dom_distiller
OLDNEW
« no previous file with comments | « ios/chrome/browser/dom_distiller/distiller_viewer.h ('k') | ios/chrome/browser/favicon/large_icon_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698