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

Unified Diff: chrome/browser/autofill/autocheckout/whitelist_url_unittest.cc

Issue 11867025: Download autocheckout whitelist and enable autocheckout for whitelisted sites only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Ilya's review comments, mostly styling. Created 7 years, 11 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/browser/autofill/autocheckout/whitelist_url_unittest.cc
diff --git a/chrome/browser/autofill/autocheckout/whitelist_url_unittest.cc b/chrome/browser/autofill/autocheckout/whitelist_url_unittest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..106944e985b9c00a4bf026792d24815827b633ed
--- /dev/null
+++ b/chrome/browser/autofill/autocheckout/whitelist_url_unittest.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 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.
+
+#include "chrome/browser/autofill/autocheckout/whitelist_url.h"
+#include "googleurl/src/gurl.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace autofill {
+namespace autocheckout {
+
+TEST(AutocheckoutWhitelistUrlTest, CheckDefaultUrl) {
+ ASSERT_EQ("http://www.gstatic.com/commerce/autocheckout/whitelist.csv",
+ GetAutocheckoutWhitelistUrl().spec());
+}
+
+} // namespace autocheckout
+} // namespace autofill
+

Powered by Google App Engine
This is Rietveld 408576698