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

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

Issue 1288093004: rAc Wallet extirpation round 4: clean out RPC code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn Created 5 years, 4 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 7d5d571295b33816c3599a2414fc217fcd2c810f..e414310b1e9302e85fc3ff88f6c5ade8eeec9bb4 100644
--- a/components/autofill/content/browser/wallet/wallet_service_url.h
+++ b/components/autofill/content/browser/wallet/wallet_service_url.h
@@ -1,6 +1,8 @@
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+//
+// TODO(estade): this file probably belongs in core/
#ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_
#define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_SERVICE_URL_H_
@@ -14,40 +16,8 @@ namespace wallet {
// |user_index| is the index into the list of signed-in GAIA profiles for which
// this request is being made.
-GURL GetGetWalletItemsUrl(size_t user_index);
-GURL GetGetFullWalletUrl(size_t user_index);
GURL GetManageInstrumentsUrl(size_t user_index);
GURL GetManageAddressesUrl(size_t user_index);
-GURL GetPrivacyNoticeUrl();
-GURL GetAcceptLegalDocumentsUrl(size_t user_index);
-GURL GetAuthenticateInstrumentUrl(size_t user_index);
-GURL GetSaveToWalletNoEscrowUrl(size_t user_index);
-GURL GetSaveToWalletUrl(size_t user_index);
-GURL GetPassiveAuthUrl(size_t user_index);
-
-// URL to visit for presenting the user when first signing in.
-GURL GetAddAccountUrl();
-
-// (Re-)sign into a specific account.
-GURL GetSignInUrl(size_t user_index);
-
-// The the URL to use as a continue parameter in the sign-in URL.
-// A redirect to this URL will occur once sign-in is complete.
-GURL GetSignInContinueUrl();
-
-// 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
-// which user account just signed in.
-bool IsSignInContinueUrl(const GURL& url, size_t* user_index);
-
-// Returns whether |url| is related to sign-in. This is used to determine
-// whether to open a new link from the Autofill dialog's sign-in webview.
-bool IsSignInRelatedUrl(const GURL& url);
-
-// Whether calls to Online Wallet are hitting the production server rather than
-// a sandbox or some malicious endpoint.
-bool IsUsingProd();
} // namespace wallet
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698