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

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

Issue 192283002: Revert 255858 "Simplify the user agent code some more since afte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/chrome/browser/autofill/risk/fingerprint_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/autofill/risk/fingerprint_browsertest.cc (revision 255866)
+++ trunk/src/chrome/browser/autofill/risk/fingerprint_browsertest.cc (working copy)
@@ -8,7 +8,6 @@
#include "base/message_loop/message_loop.h"
#include "base/port.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/common/chrome_content_client.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
#include "content/public/browser/geolocation_provider.h"
@@ -39,7 +38,6 @@
const std::string& accept_languages,
const base::Time& install_time,
const std::string& app_locale,
- const std::string& user_agent,
const base::TimeDelta& timeout,
const base::Callback<void(scoped_ptr<Fingerprint>)>& callback);
@@ -200,7 +198,7 @@
internal::GetFingerprintInternal(
kObfuscatedGaiaId, window_bounds_, content_bounds_, screen_info,
"25.0.0.123", kCharset, kAcceptLanguages, base::Time::Now(),
- g_browser_process->GetApplicationLocale(), GetUserAgent(),
+ g_browser_process->GetApplicationLocale(),
base::TimeDelta::FromDays(1), // Ought to be longer than any test run.
base::Bind(&AutofillRiskFingerprintTest::GetFingerprintTestCallback,
base::Unretained(this)));
« no previous file with comments | « trunk/src/android_webview/native/aw_settings.cc ('k') | trunk/src/chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698