| 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 "base/json/json_reader.h" | 5 #include "base/json/json_reader.h" |
| 6 #include "base/json/json_writer.h" | 6 #include "base/json/json_writer.h" |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 " \"brand\":\"monkeys\"," | 110 " \"brand\":\"monkeys\"," |
| 111 " \"billing_address\":" | 111 " \"billing_address\":" |
| 112 " {" | 112 " {" |
| 113 " \"name\":\"name\"," | 113 " \"name\":\"name\"," |
| 114 " \"address1\":\"address1\"," | 114 " \"address1\":\"address1\"," |
| 115 " \"address2\":\"address2\"," | 115 " \"address2\":\"address2\"," |
| 116 " \"city\":\"city\"," | 116 " \"city\":\"city\"," |
| 117 " \"state\":\"state\"," | 117 " \"state\":\"state\"," |
| 118 " \"postal_code\":\"postal_code\"," | 118 " \"postal_code\":\"postal_code\"," |
| 119 " \"phone_number\":\"phone_number\"," | 119 " \"phone_number\":\"phone_number\"," |
| 120 " \"country_code\":\"country_code\"" | 120 " \"country_code\":\"US\"" |
| 121 " }," | 121 " }," |
| 122 " \"status\":\"VALID\"," | 122 " \"status\":\"VALID\"," |
| 123 " \"object_id\":\"default_instrument_id\"" | 123 " \"object_id\":\"default_instrument_id\"" |
| 124 " }" | 124 " }" |
| 125 " ]," | 125 " ]," |
| 126 " \"default_instrument_id\":\"default_instrument_id\"," | 126 " \"default_instrument_id\":\"default_instrument_id\"," |
| 127 " \"obfuscated_gaia_id\":\"obfuscated_gaia_id\"," | 127 " \"obfuscated_gaia_id\":\"obfuscated_gaia_id\"," |
| 128 " \"address\":" | 128 " \"address\":" |
| 129 " [" | 129 " [" |
| 130 " ]," | 130 " ]," |
| (...skipping 1591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1722 wallet_client_->GetWalletItems(GURL(kMerchantUrl)); | 1722 wallet_client_->GetWalletItems(GURL(kMerchantUrl)); |
| 1723 EXPECT_EQ(2U, wallet_client_->pending_requests_.size()); | 1723 EXPECT_EQ(2U, wallet_client_->pending_requests_.size()); |
| 1724 | 1724 |
| 1725 wallet_client_->CancelRequests(); | 1725 wallet_client_->CancelRequests(); |
| 1726 EXPECT_EQ(0U, wallet_client_->pending_requests_.size()); | 1726 EXPECT_EQ(0U, wallet_client_->pending_requests_.size()); |
| 1727 EXPECT_FALSE(wallet_client_->HasRequestInProgress()); | 1727 EXPECT_FALSE(wallet_client_->HasRequestInProgress()); |
| 1728 } | 1728 } |
| 1729 | 1729 |
| 1730 } // namespace wallet | 1730 } // namespace wallet |
| 1731 } // namespace autofill | 1731 } // namespace autofill |
| OLD | NEW |