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

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

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 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/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "components/autofill/core/browser/autofill_test_utils.h" 11 #include "components/autofill/core/browser/autofill_test_utils.h"
12 #include "components/autofill/core/browser/payments/payments_client.h" 12 #include "components/autofill/core/browser/payments/payments_client.h"
13 #include "components/autofill/core/common/autofill_switches.h" 13 #include "components/autofill/core/common/autofill_switches.h"
14 #include "content/public/test/test_browser_thread_bundle.h" 14 #include "content/public/test/test_browser_thread_bundle.h"
15 #include "google_apis/gaia/fake_identity_provider.h" 15 #include "google_apis/gaia/fake_identity_provider.h"
16 #include "google_apis/gaia/fake_oauth2_token_service.h" 16 #include "google_apis/gaia/fake_oauth2_token_service.h"
17 #include "net/url_request/test_url_fetcher_factory.h" 17 #include "net/url_request/test_url_fetcher_factory.h"
18 #include "net/url_request/url_request_test_util.h" 18 #include "net/url_request/url_request_test_util.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 255 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/audio_modem/audio_recorder_unittest.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698