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

Unified Diff: components/autofill/core/browser/personal_data_manager.h

Issue 2709093006: Adding new shipping address editor view to payment flow. (Closed)
Patch Set: Bot failure fix Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/autofill/core/browser/country_combobox_model.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/personal_data_manager.h
diff --git a/components/autofill/core/browser/personal_data_manager.h b/components/autofill/core/browser/personal_data_manager.h
index a8891575c1712ef6da5d07da8e2824d092d3e799..4690a673a618b0ca871513e9e2fa6475769e52ac 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -27,9 +27,7 @@
#include "components/keyed_service/core/keyed_service.h"
#include "components/prefs/pref_member.h"
#include "components/webdata/common/web_data_service_consumer.h"
-#if defined(OS_ANDROID)
#include "net/url_request/url_request_context_getter.h"
-#endif
class AccountTrackerService;
class Browser;
@@ -274,7 +272,6 @@ class PersonalDataManager : public KeyedService,
NotifyPersonalDataChanged();
}
-#if defined(OS_ANDROID)
// Sets the URL request context getter to be used when normalizing addresses
// with libaddressinput's address validator.
void SetURLRequestContextGetter(
@@ -286,7 +283,6 @@ class PersonalDataManager : public KeyedService,
net::URLRequestContextGetter* GetURLRequestContextGetter() const {
return context_getter_.get();
}
-#endif
protected:
// Only PersonalDataManagerFactory and certain tests can create instances of
@@ -330,13 +326,13 @@ class PersonalDataManager : public KeyedService,
ConvertWalletAddressesAndUpdateWalletCards_MergedProfile);
FRIEND_TEST_ALL_PREFIXES(
PersonalDataManagerTest,
- ConvertWalletAddressesAndUpdateWalletCards_NewCard_AddressAlreadyConverted);
+ ConvertWalletAddressesAndUpdateWalletCards_NewCard_AddressAlreadyConverted); // NOLINT
FRIEND_TEST_ALL_PREFIXES(
PersonalDataManagerTest,
ConvertWalletAddressesAndUpdateWalletCards_AlreadyConverted);
FRIEND_TEST_ALL_PREFIXES(
PersonalDataManagerTest,
- ConvertWalletAddressesAndUpdateWalletCards_MultipleSimilarWalletAddresses);
+ ConvertWalletAddressesAndUpdateWalletCards_MultipleSimilarWalletAddresses); // NOLINT
friend class autofill::AutofillInteractiveTest;
friend class autofill::AutofillTest;
friend class autofill::PersonalDataManagerFactory;
@@ -602,11 +598,9 @@ class PersonalDataManager : public KeyedService,
// Whether new information was received from the sync server.
bool has_synced_new_data_ = false;
-#if defined(OS_ANDROID)
// The context for the request to be used to fetch libaddressinput's address
// validation rules.
scoped_refptr<net::URLRequestContextGetter> context_getter_;
-#endif
DISALLOW_COPY_AND_ASSIGN(PersonalDataManager);
};
« no previous file with comments | « components/autofill/core/browser/country_combobox_model.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698