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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/prefs/pref_service.h"
15 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
16 #include "base/test/histogram_tester.h" 15 #include "base/test/histogram_tester.h"
17 #include "base/time/time.h" 16 #include "base/time/time.h"
18 #include "build/build_config.h" 17 #include "build/build_config.h"
19 #include "chrome/browser/autofill/personal_data_manager_factory.h" 18 #include "chrome/browser/autofill/personal_data_manager_factory.h"
20 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/browser/signin/account_tracker_service_factory.h" 20 #include "chrome/browser/signin/account_tracker_service_factory.h"
22 #include "chrome/browser/signin/signin_manager_factory.h" 21 #include "chrome/browser/signin/signin_manager_factory.h"
23 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" 22 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h"
24 #include "chrome/browser/ui/autofill/autofill_dialog_i18n_input.h" 23 #include "chrome/browser/ui/autofill/autofill_dialog_i18n_input.h"
(...skipping 11 matching lines...) Expand all
36 #include "chrome/test/base/in_process_browser_test.h" 35 #include "chrome/test/base/in_process_browser_test.h"
37 #include "chrome/test/base/ui_test_utils.h" 36 #include "chrome/test/base/ui_test_utils.h"
38 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" 37 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
39 #include "components/autofill/core/browser/autofill_metrics.h" 38 #include "components/autofill/core/browser/autofill_metrics.h"
40 #include "components/autofill/core/browser/autofill_test_utils.h" 39 #include "components/autofill/core/browser/autofill_test_utils.h"
41 #include "components/autofill/core/browser/test_personal_data_manager.h" 40 #include "components/autofill/core/browser/test_personal_data_manager.h"
42 #include "components/autofill/core/browser/validation.h" 41 #include "components/autofill/core/browser/validation.h"
43 #include "components/autofill/core/common/autofill_switches.h" 42 #include "components/autofill/core/common/autofill_switches.h"
44 #include "components/autofill/core/common/form_data.h" 43 #include "components/autofill/core/common/form_data.h"
45 #include "components/autofill/core/common/form_field_data.h" 44 #include "components/autofill/core/common/form_field_data.h"
45 #include "components/prefs/pref_service.h"
46 #include "components/signin/core/browser/account_tracker_service.h" 46 #include "components/signin/core/browser/account_tracker_service.h"
47 #include "components/signin/core/browser/signin_manager.h" 47 #include "components/signin/core/browser/signin_manager.h"
48 #include "content/public/browser/browser_thread.h" 48 #include "content/public/browser/browser_thread.h"
49 #include "content/public/browser/interstitial_page.h" 49 #include "content/public/browser/interstitial_page.h"
50 #include "content/public/browser/navigation_details.h" 50 #include "content/public/browser/navigation_details.h"
51 #include "content/public/browser/navigation_entry.h" 51 #include "content/public/browser/navigation_entry.h"
52 #include "content/public/browser/notification_service.h" 52 #include "content/public/browser/notification_service.h"
53 #include "content/public/browser/notification_types.h" 53 #include "content/public/browser/notification_types.h"
54 #include "content/public/browser/page_navigator.h" 54 #include "content/public/browser/page_navigator.h"
55 #include "content/public/browser/web_contents.h" 55 #include "content/public/browser/web_contents.h"
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 ASSERT_TRUE(content::ExecuteScriptAndExtractString(GetRenderViewHost(), 1325 ASSERT_TRUE(content::ExecuteScriptAndExtractString(GetRenderViewHost(),
1326 "navigateFrame();", 1326 "navigateFrame();",
1327 &unused)); 1327 &unused));
1328 ExpectDomMessage("iframe loaded"); 1328 ExpectDomMessage("iframe loaded");
1329 ChromeAutofillClient* client = 1329 ChromeAutofillClient* client =
1330 ChromeAutofillClient::FromWebContents(GetActiveWebContents()); 1330 ChromeAutofillClient::FromWebContents(GetActiveWebContents());
1331 EXPECT_FALSE(client->GetDialogControllerForTesting()); 1331 EXPECT_FALSE(client->GetDialogControllerForTesting());
1332 } 1332 }
1333 1333
1334 } // namespace autofill 1334 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698