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

Unified Diff: components/autofill/content/browser/wallet/wallet_service_url.h

Issue 123363002: rAc: don't open sign in continue url in new tab (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit tests Created 6 years, 12 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
Index: components/autofill/content/browser/wallet/wallet_service_url.h
diff --git a/components/autofill/content/browser/wallet/wallet_service_url.h b/components/autofill/content/browser/wallet/wallet_service_url.h
index e5a5002d68deef60d32cb8ee1ed3ce37a5ff2631..a8481f47741e3a0de5bda1d6c0a5dd1818fa6c5e 100644
--- a/components/autofill/content/browser/wallet/wallet_service_url.h
+++ b/components/autofill/content/browser/wallet/wallet_service_url.h
@@ -32,6 +32,9 @@ GURL GetSignInUrl();
// A redirect to this URL will occur once sign-in is complete.
GURL GetSignInContinueUrl();
+// Facilitates testing by setting the sign in continue URL to a mock address.
+void SetUseTestingSignInContinueUrl();
+
// Returns true if |url| is an acceptable variant of the sign-in continue
// url. Can be used for detection of navigation to the continue url. If
// |url| is a sign-in url, |user_index| will also be filled in to indicate

Powered by Google App Engine
This is Rietveld 408576698