Merge - [Web Payments] Use OriginalProfile for IdentityProvider in PR

Original commit:

commit e4e004ca8b2eb2ca9fe96ba2916951b6f5af05d4
Author: Anthony Vallee-Dubois <anthonyvd@chromium.org>
Date: Tue Feb 20 18:33:22 2018

[Web Payments] Use OriginalProfile for IdentityProvider in PR

This CL fixes a crash in Incognito where the Payment Request
IdentityProvider attempted to register an Observer on a null
SigninManager. It also brings Payment Request in line with Autofill,
where previously PR was displaying the Original Profile's Autofill data
but wasn't able to unlock cards because the IdentityProvider was invalid
in Incognito.

Bug: 813275
Change-Id: I3fb43ba45404f8884a300d77fda7f8fe0f8364af
Reviewed-on: https://chromium-review.googlesource.com/926563
Commit-Queue: anthonyvd <anthonyvd@chromium.org>
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#537826}
Reviewed-on: https://chromium-review.googlesource.com/927226
Cr-Commit-Position: refs/branch-heads/3325@{#514}
Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
1 file changed