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: components/autofill/content/browser/risk/fingerprint_browsertest.cc

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 years, 5 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
« no previous file with comments | « components/autofill/content/browser/risk/fingerprint.cc ('k') | content/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/risk/fingerprint_browsertest.cc
diff --git a/components/autofill/content/browser/risk/fingerprint_browsertest.cc b/components/autofill/content/browser/risk/fingerprint_browsertest.cc
index c633f3746e0756aa0a94ba991643696c357cefbc..cc667d7570174a839b142a91591b497ccd2c9cfc 100644
--- a/components/autofill/content/browser/risk/fingerprint_browsertest.cc
+++ b/components/autofill/content/browser/risk/fingerprint_browsertest.cc
@@ -12,11 +12,11 @@
#include "base/message_loop/message_loop.h"
#include "build/build_config.h"
#include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
+#include "content/public/browser/geolocation_provider.h"
#include "content/public/browser/gpu_data_manager.h"
+#include "content/public/common/geoposition.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/test_utils.h"
-#include "device/geolocation/geolocation_provider.h"
-#include "device/geolocation/geoposition.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/platform/WebRect.h"
@@ -186,7 +186,7 @@ class AutofillRiskFingerprintTest : public content::ContentBrowserTest {
// Test that getting a fingerprint works on some basic level.
IN_PROC_BROWSER_TEST_F(AutofillRiskFingerprintTest, GetFingerprint) {
- device::Geoposition position;
+ content::Geoposition position;
position.latitude = kLatitude;
position.longitude = kLongitude;
position.altitude = kAltitude;
@@ -194,7 +194,7 @@ IN_PROC_BROWSER_TEST_F(AutofillRiskFingerprintTest, GetFingerprint) {
position.timestamp =
base::Time::UnixEpoch() +
base::TimeDelta::FromMilliseconds(kGeolocationTime);
- device::GeolocationProvider::GetInstance()->OverrideLocationForTesting(
+ content::GeolocationProvider::GetInstance()->OverrideLocationForTesting(
position);
blink::WebScreenInfo screen_info;
« no previous file with comments | « components/autofill/content/browser/risk/fingerprint.cc ('k') | content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698