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

Side by Side Diff: components/autofill/content/browser/risk/fingerprint_browsertest.cc

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/autofill/content/browser/risk/fingerprint.h" 5 #include "components/autofill/content/browser/risk/fingerprint.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/port.h" 9 #include "base/port.h"
10 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" 10 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
11 #include "content/public/browser/geolocation_provider.h" 11 #include "content/public/browser/geolocation_provider.h"
12 #include "content/public/browser/gpu_data_manager.h" 12 #include "content/public/browser/gpu_data_manager.h"
13 #include "content/public/common/geoposition.h" 13 #include "content/public/common/geoposition.h"
14 #include "content/public/test/content_browser_test.h" 14 #include "content/public/test/content_browser_test.h"
15 #include "content/public/test/test_utils.h" 15 #include "content/public/test/test_utils.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "third_party/WebKit/public/platform/WebRect.h" 18 #include "third_party/WebKit/public/platform/WebRect.h"
19 #include "third_party/WebKit/public/platform/WebScreenInfo.h" 19 #include "third_party/WebKit/public/platform/WebScreenInfo.h"
20 #include "ui/gfx/rect.h" 20 #include "ui/gfx/geometry/rect.h"
21 21
22 using testing::ElementsAre; 22 using testing::ElementsAre;
23 23
24 namespace autofill { 24 namespace autofill {
25 namespace risk { 25 namespace risk {
26 26
27 namespace internal { 27 namespace internal {
28 28
29 // Defined in the implementation file corresponding to this test. 29 // Defined in the implementation file corresponding to this test.
30 void GetFingerprintInternal( 30 void GetFingerprintInternal(
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 base::TimeDelta::FromDays(1), // Ought to be longer than any test run. 205 base::TimeDelta::FromDays(1), // Ought to be longer than any test run.
206 base::Bind(&AutofillRiskFingerprintTest::GetFingerprintTestCallback, 206 base::Bind(&AutofillRiskFingerprintTest::GetFingerprintTestCallback,
207 base::Unretained(this))); 207 base::Unretained(this)));
208 208
209 // Wait for the callback to be called. 209 // Wait for the callback to be called.
210 message_loop_.Run(); 210 message_loop_.Run();
211 } 211 }
212 212
213 } // namespace risk 213 } // namespace risk
214 } // namespace autofill 214 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/browser/risk/fingerprint.cc ('k') | components/autofill/content/common/autofill_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698