OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/autofill/wallet/encryption_escrow_client.h" | |
6 #include "chrome/browser/autofill/wallet/encryption_escrow_client_observer.h" | |
7 #include "chrome/browser/autofill/wallet/instrument.h" | |
8 #include "chrome/browser/autofill/wallet/wallet_test_util.h" | |
9 #include "chrome/test/base/testing_profile.h" | 5 #include "chrome/test/base/testing_profile.h" |
| 6 #include "components/autofill/browser/wallet/encryption_escrow_client.h" |
| 7 #include "components/autofill/browser/wallet/encryption_escrow_client_observer.h
" |
| 8 #include "components/autofill/browser/wallet/instrument.h" |
| 9 #include "components/autofill/browser/wallet/wallet_test_util.h" |
10 #include "content/public/test/test_browser_thread.h" | 10 #include "content/public/test/test_browser_thread.h" |
11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
12 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
13 #include "net/http/http_status_code.h" | 13 #include "net/http/http_status_code.h" |
14 #include "net/url_request/test_url_fetcher_factory.h" | 14 #include "net/url_request/test_url_fetcher_factory.h" |
15 #include "net/url_request/url_fetcher_delegate.h" | 15 #include "net/url_request/url_fetcher_delegate.h" |
16 #include "net/url_request/url_request_status.h" | 16 #include "net/url_request/url_request_status.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 | 19 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 &observer); | 200 &observer); |
201 encryption_escrow_client.EncryptOneTimePad(MakeOneTimePad()); | 201 encryption_escrow_client.EncryptOneTimePad(MakeOneTimePad()); |
202 VerifyAndFinishRequest(factory, | 202 VerifyAndFinishRequest(factory, |
203 net::HTTP_OK, | 203 net::HTTP_OK, |
204 kEncryptOtpRequest, | 204 kEncryptOtpRequest, |
205 std::string()); | 205 std::string()); |
206 } | 206 } |
207 | 207 |
208 } // namespace wallet | 208 } // namespace wallet |
209 } // namespace autofill | 209 } // namespace autofill |
OLD | NEW |