OLD | NEW |
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 <utility> | 5 #include <utility> |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/threading/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 TEST_F(PaymentsClientTest, OtherError) { | 275 TEST_F(PaymentsClientTest, OtherError) { |
276 StartUnmasking(); | 276 StartUnmasking(); |
277 IssueOAuthToken(); | 277 IssueOAuthToken(); |
278 ReturnResponse(net::HTTP_FORBIDDEN, std::string()); | 278 ReturnResponse(net::HTTP_FORBIDDEN, std::string()); |
279 EXPECT_EQ(AutofillClient::PERMANENT_FAILURE, result_); | 279 EXPECT_EQ(AutofillClient::PERMANENT_FAILURE, result_); |
280 EXPECT_EQ("", real_pan_); | 280 EXPECT_EQ("", real_pan_); |
281 } | 281 } |
282 | 282 |
283 } // namespace autofill | 283 } // namespace autofill |
284 } // namespace payments | 284 } // namespace payments |
OLD | NEW |