Replace Incognito with OffTheRecord in ChromePaymentRequestDelegate.

ChromePaymentRequestDelegate handles incognito mode differently in
compare to other off-the-record profiles. This change updates
ChromePaymentRequestDelegate::IsIncognito to return true for all
off-the-record profiles.
The function is also renamed to represent this change.

Bug: 968028, 1074201
Change-Id: I543413c993d484fe2ede6a589a8dd06a1b2ce186
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2201596
Auto-Submit: Ramin Halavati <[email protected]>
Reviewed-by: Theresa  <[email protected]>
Reviewed-by: Rouslan Solomakhin <[email protected]>
Commit-Queue: Ramin Halavati <[email protected]>
Cr-Commit-Position: refs/heads/master@{#771069}
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc
index 1f54f25..1d6fe77 100644
--- a/components/payments/content/payment_request.cc
+++ b/components/payments/content/payment_request.cc
@@ -96,7 +96,7 @@
           render_frame_host->GetLastCommittedURL())),
       frame_security_origin_(render_frame_host->GetLastCommittedOrigin()),
       observer_for_testing_(observer_for_testing),
-      journey_logger_(delegate_->IsIncognito(),
+      journey_logger_(delegate_->IsOffTheRecord(),
                       ukm::GetSourceIdForWebContentsDocument(web_contents)) {
   receiver_.Bind(std::move(receiver));
   // OnConnectionTerminated will be called when the Mojo pipe is closed. This
@@ -774,8 +774,8 @@
   display_handle_.reset();
 }
 
-bool PaymentRequest::IsIncognito() const {
-  return delegate_->IsIncognito();
+bool PaymentRequest::IsOffTheRecord() const {
+  return delegate_->IsOffTheRecord();
 }
 
 void PaymentRequest::OnPaymentHandlerOpenWindowCalled() {