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

Side by Side Diff: chrome/browser/extensions/api/autofill_private/autofill_private_apitest.cc

Issue 2028903002: Update Autofill Private API to provide a list of available countries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/macros.h" 6 #include "base/macros.h"
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/extensions/extension_apitest.h" 8 #include "chrome/browser/extensions/extension_apitest.h"
9 #include "chrome/common/extensions/api/autofill_private.h" 9 #include "chrome/common/extensions/api/autofill_private.h"
10 #include "components/keyed_service/core/keyed_service.h" 10 #include "components/keyed_service/core/keyed_service.h"
(...skipping 28 matching lines...) Expand all
39 private: 39 private:
40 DISALLOW_COPY_AND_ASSIGN(AutofillPrivateApiTest); 40 DISALLOW_COPY_AND_ASSIGN(AutofillPrivateApiTest);
41 }; 41 };
42 42
43 } // namespace 43 } // namespace
44 44
45 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, SaveAddress) { 45 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, SaveAddress) {
46 EXPECT_TRUE(RunAutofillSubtest("saveAddress")) << message_; 46 EXPECT_TRUE(RunAutofillSubtest("saveAddress")) << message_;
47 } 47 }
48 48
49 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, GetCountryList) {
50 EXPECT_TRUE(RunAutofillSubtest("getCountryList")) << message_;
Devlin 2016/06/10 18:25:11 semi-drive-by - do all these really need separate
hcarmona 2016/06/10 20:42:51 Sounds good, I've added a TODO at the top of this
51 }
52
49 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, GetAddressComponents) { 53 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, GetAddressComponents) {
50 EXPECT_TRUE(RunAutofillSubtest("getAddressComponents")) << message_; 54 EXPECT_TRUE(RunAutofillSubtest("getAddressComponents")) << message_;
51 } 55 }
52 56
53 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, SaveCreditCard) { 57 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, SaveCreditCard) {
54 EXPECT_TRUE(RunAutofillSubtest("saveCreditCard")) << message_; 58 EXPECT_TRUE(RunAutofillSubtest("saveCreditCard")) << message_;
55 } 59 }
56 60
57 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, RemoveEntry) { 61 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, RemoveEntry) {
58 EXPECT_TRUE(RunAutofillSubtest("removeEntry")) << message_; 62 EXPECT_TRUE(RunAutofillSubtest("removeEntry")) << message_;
59 } 63 }
60 64
61 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, ValidatePhoneNumbers) { 65 IN_PROC_BROWSER_TEST_F(AutofillPrivateApiTest, ValidatePhoneNumbers) {
62 EXPECT_TRUE(RunAutofillSubtest("ValidatePhoneNumbers")) << message_; 66 EXPECT_TRUE(RunAutofillSubtest("ValidatePhoneNumbers")) << message_;
63 } 67 }
64 68
65 } // namespace extensions 69 } // namespace extensions
66 70
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698