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

Side by Side Diff: chrome/browser/autofill/options_util.cc

Issue 1571863002: Update the Payments integration setting now that it now governs uploads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UI string wordsmithing Created 4 years, 11 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | components/autofill/core/browser/options_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/autofill/options_util.h" 5 #include "chrome/browser/autofill/options_util.h"
6 6
7 #include "chrome/browser/autofill/personal_data_manager_factory.h" 7 #include "chrome/browser/autofill/personal_data_manager_factory.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sync/profile_sync_service_factory.h" 9 #include "chrome/browser/sync/profile_sync_service_factory.h"
10 #include "components/autofill/core/browser/options_util.h" 10 #include "components/autofill/core/browser/options_util.h"
11 #include "components/browser_sync/browser/profile_sync_service.h" 11 #include "components/browser_sync/browser/profile_sync_service.h"
12 12
13 namespace autofill { 13 namespace autofill {
14 14
15 bool WalletIntegrationAvailableForProfile(Profile* profile) { 15 bool WalletIntegrationAvailableForProfile(Profile* profile) {
16 return WalletIntegrationAvailable( 16 return WalletIntegrationAvailable(
17 ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile), 17 ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile),
18 *profile->GetPrefs(),
19 *PersonalDataManagerFactory::GetForProfile(profile)); 18 *PersonalDataManagerFactory::GetForProfile(profile));
20 } 19 }
21 20
22 } // namespace autofill 21 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | components/autofill/core/browser/options_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698