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

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentsValidators.h

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
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 #ifndef PaymentsValidators_h 5 #ifndef PaymentsValidators_h
6 #define PaymentsValidators_h 6 #define PaymentsValidators_h
7 7
8 #include "components/payments/content/payment_request.mojom-blink.h" 8 #include "components/payments/mojom/payment_request.mojom-blink.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "platform/wtf/Allocator.h" 10 #include "platform/wtf/Allocator.h"
11 #include "platform/wtf/text/WTFString.h" 11 #include "platform/wtf/text/WTFString.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class MODULES_EXPORT PaymentsValidators final { 15 class MODULES_EXPORT PaymentsValidators final {
16 STATIC_ONLY(PaymentsValidators); 16 STATIC_ONLY(PaymentsValidators);
17 17
18 public: 18 public:
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 String* optional_error_message); 54 String* optional_error_message);
55 55
56 // Returns false if |error| is too long (greater than 2048). 56 // Returns false if |error| is too long (greater than 2048).
57 static bool IsValidErrorMsgFormat(const String& code, 57 static bool IsValidErrorMsgFormat(const String& code,
58 String* optional_error_message); 58 String* optional_error_message);
59 }; 59 };
60 60
61 } // namespace blink 61 } // namespace blink
62 62
63 #endif // PaymentsValidators_h 63 #endif // PaymentsValidators_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentTestHelper.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698