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

Unified Diff: chrome/browser/signin/signin_promo_unittest.cc

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
« no previous file with comments | « chrome/browser/signin/signin_promo.cc ('k') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_promo_unittest.cc
diff --git a/chrome/browser/signin/signin_promo_unittest.cc b/chrome/browser/signin/signin_promo_unittest.cc
deleted file mode 100644
index 97c79b96fe95cb7d1a3d4f227f6dbb519232e080..0000000000000000000000000000000000000000
--- a/chrome/browser/signin/signin_promo_unittest.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 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.
-
-#include "chrome/browser/signin/signin_promo.h"
-
-#include "testing/gtest/include/gtest/gtest.h"
-#include "url/gurl.h"
-
-namespace signin {
-
-TEST(SigninPromoTest, GetNextPageURLForPromoURL_ValidContinueURL) {
- GURL promo_url = GetPromoURLWithContinueURL(SOURCE_MENU,
- false /* auto_close */,
- false /* is_constrained */,
- GURL("https://www.example.com"));
- EXPECT_EQ(GURL("https://www.example.com"),
- GetNextPageURLForPromoURL(promo_url));
-}
-
-TEST(SigninPromoTest, GetNextPageURLForPromoURL_EmptyContinueURL) {
- GURL promo_url = GetPromoURLWithContinueURL(SOURCE_MENU,
- false /* auto_close */,
- false /* is_constrained */,
- GURL());
- EXPECT_TRUE(GetNextPageURLForPromoURL(promo_url).is_empty());
-}
-
-} // namespace signin
« no previous file with comments | « chrome/browser/signin/signin_promo.cc ('k') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698