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

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

Issue 2811593009: [Payments] move //components/payments/content/*.mojom files to //components/payments/mojom (Closed)
Patch Set: Reland after updating chrome_content_browser_client.cc to fix android build 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/payments/payment_manager.h ('k') | content/common/BUILD.gn » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/macros.h" 7 #include "base/macros.h"
8 #include "components/payments/content/payment_app.mojom.h" 8 #include "components/payments/mojom/payment_app.mojom.h"
9 #include "content/browser/payments/payment_app_content_unittest_base.h" 9 #include "content/browser/payments/payment_app_content_unittest_base.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 using payments::mojom::PaymentAppManifestError; 13 using payments::mojom::PaymentAppManifestError;
14 using payments::mojom::PaymentAppManifestPtr; 14 using payments::mojom::PaymentAppManifestPtr;
15 15
16 namespace content { 16 namespace content {
17 namespace { 17 namespace {
18 18
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 PaymentAppManifestError read_error = PaymentAppManifestError::NONE; 115 PaymentAppManifestError read_error = PaymentAppManifestError::NONE;
116 GetManifest(payment_manager(), base::Bind(&GetManifestCallback, &called, 116 GetManifest(payment_manager(), base::Bind(&GetManifestCallback, &called,
117 &read_manifest, &read_error)); 117 &read_manifest, &read_error));
118 ASSERT_TRUE(called); 118 ASSERT_TRUE(called);
119 119
120 EXPECT_EQ(PaymentAppManifestError::MANIFEST_STORAGE_OPERATION_FAILED, 120 EXPECT_EQ(PaymentAppManifestError::MANIFEST_STORAGE_OPERATION_FAILED,
121 read_error); 121 read_error);
122 } 122 }
123 123
124 } // namespace content 124 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/payments/payment_manager.h ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698