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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc

Issue 601733002: Rename component_resources.h to components_resources.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: output_name hack Created 6 years, 3 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 (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 <map> 5 #include <map>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "components/autofill/core/browser/autofill_metrics.h" 46 #include "components/autofill/core/browser/autofill_metrics.h"
47 #include "components/autofill/core/browser/autofill_test_utils.h" 47 #include "components/autofill/core/browser/autofill_test_utils.h"
48 #include "components/autofill/core/browser/test_personal_data_manager.h" 48 #include "components/autofill/core/browser/test_personal_data_manager.h"
49 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 49 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
50 #include "components/autofill/core/common/autofill_switches.h" 50 #include "components/autofill/core/common/autofill_switches.h"
51 #include "components/autofill/core/common/form_data.h" 51 #include "components/autofill/core/common/form_data.h"
52 #include "components/user_prefs/user_prefs.h" 52 #include "components/user_prefs/user_prefs.h"
53 #include "content/public/browser/web_contents.h" 53 #include "content/public/browser/web_contents.h"
54 #include "content/public/test/mock_render_process_host.h" 54 #include "content/public/test/mock_render_process_host.h"
55 #include "google_apis/gaia/google_service_auth_error.h" 55 #include "google_apis/gaia/google_service_auth_error.h"
56 #include "grit/component_scaled_resources.h" 56 #include "grit/components_scaled_resources.h"
57 #include "grit/components_strings.h" 57 #include "grit/components_strings.h"
58 #include "testing/gmock/include/gmock/gmock.h" 58 #include "testing/gmock/include/gmock/gmock.h"
59 #include "testing/gtest/include/gtest/gtest.h" 59 #include "testing/gtest/include/gtest/gtest.h"
60 #include "third_party/libaddressinput/chromium/chrome_address_validator.h" 60 #include "third_party/libaddressinput/chromium/chrome_address_validator.h"
61 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fi eld.h" 61 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fi eld.h"
62 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_pr oblem.h" 62 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_pr oblem.h"
63 #include "ui/base/l10n/l10n_util.h" 63 #include "ui/base/l10n/l10n_util.h"
64 #include "ui/base/resource/resource_bundle.h" 64 #include "ui/base/resource/resource_bundle.h"
65 65
66 #if defined(OS_WIN) 66 #if defined(OS_WIN)
(...skipping 3594 matching lines...) Expand 10 before | Expand all | Expand 10 after
3661 EXPECT_EQ(ASCIIToUTF16("United States"), form_structure()->field(2)->value); 3661 EXPECT_EQ(ASCIIToUTF16("United States"), form_structure()->field(2)->value);
3662 EXPECT_EQ(ADDRESS_HOME_COUNTRY, 3662 EXPECT_EQ(ADDRESS_HOME_COUNTRY,
3663 form_structure()->field(3)->Type().GetStorableType()); 3663 form_structure()->field(3)->Type().GetStorableType());
3664 EXPECT_EQ(ASCIIToUTF16("US"), form_structure()->field(3)->value); 3664 EXPECT_EQ(ASCIIToUTF16("US"), form_structure()->field(3)->value);
3665 EXPECT_EQ(ADDRESS_HOME_COUNTRY, 3665 EXPECT_EQ(ADDRESS_HOME_COUNTRY,
3666 form_structure()->field(4)->Type().GetStorableType()); 3666 form_structure()->field(4)->Type().GetStorableType());
3667 EXPECT_EQ(ASCIIToUTF16("United States"), form_structure()->field(4)->value); 3667 EXPECT_EQ(ASCIIToUTF16("United States"), form_structure()->field(4)->value);
3668 } 3668 }
3669 3669
3670 } // namespace autofill 3670 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698