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

Unified Diff: chrome/test/data/extensions/api_test/webstore_private/common.js

Issue 579033002: [Clean-up] Remove some dead code for handling Webstore sign-in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore incorrectly deleted code Created 6 years, 3 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: chrome/test/data/extensions/api_test/webstore_private/common.js
diff --git a/chrome/test/data/extensions/api_test/webstore_private/common.js b/chrome/test/data/extensions/api_test/webstore_private/common.js
index c37af26a5b475a7336355f6cf7d9fbb58dcddfbe..7aa92fd2dc4207020c593926d726c7c11d3b58e1 100644
--- a/chrome/test/data/extensions/api_test/webstore_private/common.js
+++ b/chrome/test/data/extensions/api_test/webstore_private/common.js
@@ -96,29 +96,3 @@ function installAndCleanUp(installOptions, whileInstalled) {
}));
}));
}
-
-function getContinueUrl(callback) {
- chrome.test.getConfig(function(config) {
- callback('http://www.example.com:PORT/continue'
- .replace(/PORT/, config.spawnedTestServer.port));
- });
-}
-
-function expectSignInFailure(error, forced_continue_url) {
- getContinueUrl(function(continue_url) {
- if (forced_continue_url !== undefined)
- continue_url = forced_continue_url;
-
- chrome.test.runWithUserGesture(function() {
- chrome.webstorePrivate.signIn(continue_url, callbackFail(error));
- });
- });
-}
-
-function expectUserIsAlreadySignedIn() {
- getContinueUrl(function(continue_url) {
- chrome.test.runWithUserGesture(function() {
- chrome.webstorePrivate.signIn(continue_url, callbackPass());
- });
- });
-}
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/data/extensions/api_test/webstore_private/sign_in_already_signed_in.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698