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

Side by Side Diff: ios/chrome/browser/passwords/ios_chrome_password_store_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 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/passwords/ios_chrome_password_store_factory.h" 5 #include "ios/chrome/browser/passwords/ios_chrome_password_store_factory.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/single_thread_task_runner.h"
12 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
13 #include "components/browser_sync/profile_sync_service.h" 14 #include "components/browser_sync/profile_sync_service.h"
14 #include "components/keyed_service/core/service_access_type.h" 15 #include "components/keyed_service/core/service_access_type.h"
15 #include "components/keyed_service/ios/browser_state_dependency_manager.h" 16 #include "components/keyed_service/ios/browser_state_dependency_manager.h"
16 #include "components/password_manager/core/browser/affiliated_match_helper.h" 17 #include "components/password_manager/core/browser/affiliated_match_helper.h"
17 #include "components/password_manager/core/browser/affiliation_service.h" 18 #include "components/password_manager/core/browser/affiliation_service.h"
18 #include "components/password_manager/core/browser/affiliation_utils.h" 19 #include "components/password_manager/core/browser/affiliation_utils.h"
19 #include "components/password_manager/core/browser/login_database.h" 20 #include "components/password_manager/core/browser/login_database.h"
20 #include "components/password_manager/core/browser/password_store_default.h" 21 #include "components/password_manager/core/browser/password_store_default.h"
21 #include "components/password_manager/core/browser/password_store_factory_util.h " 22 #include "components/password_manager/core/browser/password_store_factory_util.h "
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 99 }
99 100
100 web::BrowserState* IOSChromePasswordStoreFactory::GetBrowserStateToUse( 101 web::BrowserState* IOSChromePasswordStoreFactory::GetBrowserStateToUse(
101 web::BrowserState* context) const { 102 web::BrowserState* context) const {
102 return GetBrowserStateRedirectedInIncognito(context); 103 return GetBrowserStateRedirectedInIncognito(context);
103 } 104 }
104 105
105 bool IOSChromePasswordStoreFactory::ServiceIsNULLWhileTesting() const { 106 bool IOSChromePasswordStoreFactory::ServiceIsNULLWhileTesting() const {
106 return true; 107 return true;
107 } 108 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698