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

Unified Diff: chrome/browser/autofill/risk/fingerprint_browsertest.cc

Issue 23537014: rAc: Get rid of dialog type in rAc, there is only one type left now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/risk/fingerprint_browsertest.cc
diff --git a/chrome/browser/autofill/risk/fingerprint_browsertest.cc b/chrome/browser/autofill/risk/fingerprint_browsertest.cc
index 5461349c59fca41fe30dd86dccc8eb68a2edc396..1de0dfe51c1aabdbc7194cef4068365001f79b19 100644
--- a/chrome/browser/autofill/risk/fingerprint_browsertest.cc
+++ b/chrome/browser/autofill/risk/fingerprint_browsertest.cc
@@ -36,7 +36,6 @@ void GetFingerprintInternal(
const std::string& charset,
const std::string& accept_languages,
const base::Time& install_time,
- DialogType dialog_type,
const std::string& app_locale,
const base::Callback<void(scoped_ptr<Fingerprint>)>& callback);
@@ -134,7 +133,7 @@ class AutofillRiskFingerprintTest : public InProcessBrowserTest {
machine.unavailable_screen_size().width());
EXPECT_EQ(unavailable_screen_bounds_.height(),
machine.unavailable_screen_size().height());
- EXPECT_EQ(Fingerprint::MachineCharacteristics::FEATURE_AUTOCHECKOUT,
+ EXPECT_EQ(Fingerprint::MachineCharacteristics::FEATURE_REQUEST_AUTOCOMPLETE,
machine.browser_feature());
EXPECT_EQ(content_bounds_.width(),
transient_state.inner_window_size().width());
@@ -193,7 +192,7 @@ IN_PROC_BROWSER_TEST_F(AutofillRiskFingerprintTest, GetFingerprint) {
internal::GetFingerprintInternal(
kObfuscatedGaiaId, window_bounds_, content_bounds_, screen_info,
"25.0.0.123", kCharset, kAcceptLanguages, base::Time::Now(),
- DIALOG_TYPE_AUTOCHECKOUT, g_browser_process->GetApplicationLocale(),
+ g_browser_process->GetApplicationLocale(),
base::Bind(&AutofillRiskFingerprintTest::GetFingerprintTestCallback,
base::Unretained(this)));

Powered by Google App Engine
This is Rietveld 408576698