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

Side by Side Diff: components/autofill/browser/wallet/full_wallet_unittest.cc

Issue 16614002: Use a direct include of utf_string_conversions.h in chrome_frame/, chromeos/, cloud_print/, compone… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/logging.h" 6 #include "base/logging.h"
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "components/autofill/browser/wallet/full_wallet.h" 11 #include "components/autofill/browser/wallet/full_wallet.h"
12 #include "components/autofill/browser/wallet/required_action.h" 12 #include "components/autofill/browser/wallet/required_action.h"
13 #include "components/autofill/browser/wallet/wallet_test_util.h" 13 #include "components/autofill/browser/wallet/wallet_test_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace { 16 namespace {
17 17
18 const char kFullWalletValidResponse[] = 18 const char kFullWalletValidResponse[] =
19 "{" 19 "{"
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 496
497 std::vector<uint8> one_time_pad; 497 std::vector<uint8> one_time_pad;
498 EXPECT_TRUE(base::HexStringToBytes("075DA779F98B", &one_time_pad)); 498 EXPECT_TRUE(base::HexStringToBytes("075DA779F98B", &one_time_pad));
499 full_wallet.set_one_time_pad(one_time_pad); 499 full_wallet.set_one_time_pad(one_time_pad);
500 EXPECT_EQ(ASCIIToUTF16("MasterCard"), 500 EXPECT_EQ(ASCIIToUTF16("MasterCard"),
501 full_wallet.GetInfo(CREDIT_CARD_TYPE)); 501 full_wallet.GetInfo(CREDIT_CARD_TYPE));
502 } 502 }
503 503
504 } // namespace wallet 504 } // namespace wallet
505 } // namespace autofill 505 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/browser/wallet/full_wallet.cc ('k') | components/autofill/browser/wallet/instrument.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698