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

Side by Side Diff: content/browser/payments/payment_app_browsertest.cc

Issue 2823823002: Revert of [Payments] move //components/payments/content/*.mojom files to //components/payments/mojom (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/payments/payment_app_content_unittest_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/run_loop.h" 7 #include "base/run_loop.h"
8 #include "components/payments/mojom/payment_app.mojom.h" 8 #include "components/payments/content/payment_app.mojom.h"
9 #include "content/public/browser/payment_app_provider.h" 9 #include "content/public/browser/payment_app_provider.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
11 #include "content/public/common/content_switches.h" 11 #include "content/public/common/content_switches.h"
12 #include "content/public/test/browser_test_utils.h" 12 #include "content/public/test/browser_test_utils.h"
13 #include "content/public/test/content_browser_test.h" 13 #include "content/public/test/content_browser_test.h"
14 #include "content/public/test/content_browser_test_utils.h" 14 #include "content/public/test/content_browser_test_utils.h"
15 #include "content/shell/browser/shell.h" 15 #include "content/shell/browser/shell.h"
16 #include "net/test/embedded_test_server/embedded_test_server.h" 16 #include "net/test/embedded_test_server/embedded_test_server.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 RegisterPaymentApp(); 122 RegisterPaymentApp();
123 123
124 std::vector<int64_t> ids = GetAllPaymentAppIDs(); 124 std::vector<int64_t> ids = GetAllPaymentAppIDs();
125 ASSERT_EQ(1U, ids.size()); 125 ASSERT_EQ(1U, ids.size());
126 126
127 payments::mojom::PaymentAppResponsePtr response(InvokePaymentApp(ids[0])); 127 payments::mojom::PaymentAppResponsePtr response(InvokePaymentApp(ids[0]));
128 ASSERT_EQ("test", response->method_name); 128 ASSERT_EQ("test", response->method_name);
129 } 129 }
130 130
131 } // namespace content 131 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/payments/payment_app_content_unittest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698