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

Side by Side Diff: components/autofill/content/browser/payments/payments_client_unittest.cc

Issue 1999923002: Move the Google Payments URL functions out of content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <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
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
OLDNEW
« no previous file with comments | « components/autofill/content/browser/payments/OWNERS ('k') | components/autofill/content/browser/wallet/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698