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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/guid.h" 14 #include "base/guid.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
18 #include "base/prefs/pref_service.h"
19 #include "base/run_loop.h" 18 #include "base/run_loop.h"
20 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/string_piece.h" 20 #include "base/strings/string_piece.h"
22 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
23 #include "build/build_config.h" 22 #include "build/build_config.h"
24 #include "chrome/browser/signin/account_tracker_service_factory.h" 23 #include "chrome/browser/signin/account_tracker_service_factory.h"
25 #include "chrome/browser/signin/signin_manager_factory.h" 24 #include "chrome/browser/signin/signin_manager_factory.h"
26 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" 25 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h"
27 #include "chrome/browser/ui/autofill/autofill_dialog_i18n_input.h" 26 #include "chrome/browser/ui/autofill/autofill_dialog_i18n_input.h"
28 #include "chrome/browser/ui/autofill/autofill_dialog_view.h" 27 #include "chrome/browser/ui/autofill/autofill_dialog_view.h"
(...skipping 10 matching lines...) Expand all
39 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" 38 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
40 #include "components/autofill/core/browser/autofill_metrics.h" 39 #include "components/autofill/core/browser/autofill_metrics.h"
41 #include "components/autofill/core/browser/autofill_test_utils.h" 40 #include "components/autofill/core/browser/autofill_test_utils.h"
42 #include "components/autofill/core/browser/country_names.h" 41 #include "components/autofill/core/browser/country_names.h"
43 #include "components/autofill/core/browser/test_personal_data_manager.h" 42 #include "components/autofill/core/browser/test_personal_data_manager.h"
44 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 43 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
45 #include "components/autofill/core/common/autofill_pref_names.h" 44 #include "components/autofill/core/common/autofill_pref_names.h"
46 #include "components/autofill/core/common/autofill_switches.h" 45 #include "components/autofill/core/common/autofill_switches.h"
47 #include "components/autofill/core/common/form_data.h" 46 #include "components/autofill/core/common/form_data.h"
48 #include "components/bookmarks/common/bookmark_pref_names.h" 47 #include "components/bookmarks/common/bookmark_pref_names.h"
48 #include "components/prefs/pref_service.h"
49 #include "components/signin/core/browser/account_tracker_service.h" 49 #include "components/signin/core/browser/account_tracker_service.h"
50 #include "components/signin/core/browser/signin_manager.h" 50 #include "components/signin/core/browser/signin_manager.h"
51 #include "components/user_prefs/user_prefs.h" 51 #include "components/user_prefs/user_prefs.h"
52 #include "content/public/browser/web_contents.h" 52 #include "content/public/browser/web_contents.h"
53 #include "content/public/test/mock_render_process_host.h" 53 #include "content/public/test/mock_render_process_host.h"
54 #include "google_apis/gaia/google_service_auth_error.h" 54 #include "google_apis/gaia/google_service_auth_error.h"
55 #include "grit/components_scaled_resources.h" 55 #include "grit/components_scaled_resources.h"
56 #include "grit/components_strings.h" 56 #include "grit/components_strings.h"
57 #include "testing/gmock/include/gmock/gmock.h" 57 #include "testing/gmock/include/gmock/gmock.h"
58 #include "testing/gtest/include/gtest/gtest.h" 58 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after
1834 SECTION_SHIPPING, 1834 SECTION_SHIPPING,
1835 NAME_FULL, 1835 NAME_FULL,
1836 gfx::NativeView(), 1836 gfx::NativeView(),
1837 gfx::Rect(), 1837 gfx::Rect(),
1838 profile.GetRawInfo(NAME_FULL).substr(0, 1), 1838 profile.GetRawInfo(NAME_FULL).substr(0, 1),
1839 true); 1839 true);
1840 EXPECT_EQ(NAME_FULL, controller()->popup_input_type()); 1840 EXPECT_EQ(NAME_FULL, controller()->popup_input_type());
1841 } 1841 }
1842 1842
1843 } // namespace autofill 1843 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_models.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698