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

Side by Side Diff: components/autofill/content/browser/wallet/wallet_items_unittest.cc

Issue 655433004: Get rid of unnecessary forward declarations in components/autofill/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated Ilya's review comments Created 6 years, 2 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 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/logging.h"
7 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
9 #include "base/values.h" 8 #include "base/values.h"
10 #include "components/autofill/content/browser/wallet/gaia_account.h" 9 #include "components/autofill/content/browser/wallet/gaia_account.h"
11 #include "components/autofill/content/browser/wallet/required_action.h" 10 #include "components/autofill/content/browser/wallet/required_action.h"
12 #include "components/autofill/content/browser/wallet/wallet_items.h" 11 #include "components/autofill/content/browser/wallet/wallet_items.h"
13 #include "components/autofill/content/browser/wallet/wallet_test_util.h" 12 #include "components/autofill/content/browser/wallet/wallet_test_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
15 #include "url/gurl.h" 14 #include "url/gurl.h"
16 15
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 ASCIIToUTF16("display_name"))); 613 ASCIIToUTF16("display_name")));
615 expected.AddLegalDocument(legal_document.Pass()); 614 expected.AddLegalDocument(legal_document.Pass());
616 expected.AddLegalDocument( 615 expected.AddLegalDocument(
617 WalletItems::LegalDocument::CreatePrivacyPolicyDocument()); 616 WalletItems::LegalDocument::CreatePrivacyPolicyDocument());
618 617
619 EXPECT_EQ(expected, *WalletItems::CreateWalletItems(*dict)); 618 EXPECT_EQ(expected, *WalletItems::CreateWalletItems(*dict));
620 } 619 }
621 620
622 } // namespace wallet 621 } // namespace wallet
623 } // namespace autofill 622 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698