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

Side by Side Diff: ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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 "components/browser_sync/browser/profile_sync_service.h" 12 #include "components/browser_sync/profile_sync_service.h"
13 #include "components/keyed_service/core/service_access_type.h" 13 #include "components/keyed_service/core/service_access_type.h"
14 #include "components/keyed_service/ios/browser_state_dependency_manager.h" 14 #include "components/keyed_service/ios/browser_state_dependency_manager.h"
15 #include "components/password_manager/core/browser/affiliated_match_helper.h" 15 #include "components/password_manager/core/browser/affiliated_match_helper.h"
16 #include "components/password_manager/core/browser/affiliation_service.h" 16 #include "components/password_manager/core/browser/affiliation_service.h"
17 #include "components/password_manager/core/browser/affiliation_utils.h" 17 #include "components/password_manager/core/browser/affiliation_utils.h"
18 #include "components/password_manager/core/browser/login_database.h" 18 #include "components/password_manager/core/browser/login_database.h"
19 #include "components/password_manager/core/browser/password_store_default.h" 19 #include "components/password_manager/core/browser/password_store_default.h"
20 #include "components/password_manager/core/browser/password_store_factory_util.h " 20 #include "components/password_manager/core/browser/password_store_factory_util.h "
21 #include "components/sync/driver/sync_service.h" 21 #include "components/sync/driver/sync_service.h"
22 #include "ios/chrome/browser/browser_state/browser_state_otr_helper.h" 22 #include "ios/chrome/browser/browser_state/browser_state_otr_helper.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 web::BrowserState* IOSChromePasswordStoreFactory::GetBrowserStateToUse( 98 web::BrowserState* IOSChromePasswordStoreFactory::GetBrowserStateToUse(
99 web::BrowserState* context) const { 99 web::BrowserState* context) const {
100 return GetBrowserStateRedirectedInIncognito(context); 100 return GetBrowserStateRedirectedInIncognito(context);
101 } 101 }
102 102
103 bool IOSChromePasswordStoreFactory::ServiceIsNULLWhileTesting() const { 103 bool IOSChromePasswordStoreFactory::ServiceIsNULLWhileTesting() const {
104 return true; 104 return true;
105 } 105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698