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

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_browsertest_base.h

Issue 2866623003: PaymentRequest.canMakePayment() query quota on desktop. (Closed)
Patch Set: frame Created 3 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 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 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <list> 9 #include <list>
10 #include <memory> 10 #include <memory>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 CVC_PROMPT_SHOWN, 83 CVC_PROMPT_SHOWN,
84 NOT_SUPPORTED_ERROR, 84 NOT_SUPPORTED_ERROR,
85 }; 85 };
86 86
87 protected: 87 protected:
88 // Test will open a browser window to |test_file_path| (relative to 88 // Test will open a browser window to |test_file_path| (relative to
89 // chrome/test/data/payments). 89 // chrome/test/data/payments).
90 explicit PaymentRequestBrowserTestBase(const std::string& test_file_path); 90 explicit PaymentRequestBrowserTestBase(const std::string& test_file_path);
91 ~PaymentRequestBrowserTestBase() override; 91 ~PaymentRequestBrowserTestBase() override;
92 92
93 void SetUpCommandLine(base::CommandLine* command_line) override;
93 void SetUpOnMainThread() override; 94 void SetUpOnMainThread() override;
94 95
95 void NavigateTo(const std::string& file_path); 96 void NavigateTo(const std::string& file_path);
96 97
97 void SetIncognito(); 98 void SetIncognito();
98 void SetInvalidSsl(); 99 void SetInvalidSsl();
99 100
100 // PaymentRequest::ObserverForTest: 101 // PaymentRequest::ObserverForTest:
101 void OnCanMakePaymentCalled() override; 102 void OnCanMakePaymentCalled() override;
102 void OnNotSupportedError() override; 103 void OnNotSupportedError() override;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase); 265 DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase);
265 }; 266 };
266 267
267 } // namespace payments 268 } // namespace payments
268 269
269 std::ostream& operator<<( 270 std::ostream& operator<<(
270 std::ostream& out, 271 std::ostream& out,
271 payments::PaymentRequestBrowserTestBase::DialogEvent event); 272 payments::PaymentRequestBrowserTestBase::DialogEvent event);
272 273
273 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 274 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698