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

Side by Side Diff: components/autofill/content/browser/risk/fingerprint.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Generating a fingerprint consists of two major steps: 5 // Generating a fingerprint consists of two major steps:
6 // (1) Gather all the necessary data. 6 // (1) Gather all the necessary data.
7 // (2) Write it into a protocol buffer. 7 // (2) Write it into a protocol buffer.
8 // 8 //
9 // Step (2) is as simple as it sounds -- it's really just a matter of copying 9 // Step (2) is as simple as it sounds -- it's really just a matter of copying
10 // data. Step (1) requires waiting on several asynchronous callbacks, which are 10 // data. Step (1) requires waiting on several asynchronous callbacks, which are
(...skipping 21 matching lines...) Expand all
32 #include "content/public/browser/gpu_data_manager_observer.h" 32 #include "content/public/browser/gpu_data_manager_observer.h"
33 #include "content/public/browser/plugin_service.h" 33 #include "content/public/browser/plugin_service.h"
34 #include "content/public/browser/render_widget_host.h" 34 #include "content/public/browser/render_widget_host.h"
35 #include "content/public/browser/render_widget_host_view.h" 35 #include "content/public/browser/render_widget_host_view.h"
36 #include "content/public/browser/web_contents.h" 36 #include "content/public/browser/web_contents.h"
37 #include "content/public/common/geoposition.h" 37 #include "content/public/common/geoposition.h"
38 #include "content/public/common/webplugininfo.h" 38 #include "content/public/common/webplugininfo.h"
39 #include "gpu/config/gpu_info.h" 39 #include "gpu/config/gpu_info.h"
40 #include "third_party/WebKit/public/platform/WebRect.h" 40 #include "third_party/WebKit/public/platform/WebRect.h"
41 #include "third_party/WebKit/public/platform/WebScreenInfo.h" 41 #include "third_party/WebKit/public/platform/WebScreenInfo.h"
42 #include "ui/gfx/rect.h" 42 #include "ui/gfx/geometry/rect.h"
43 #include "ui/gfx/screen.h" 43 #include "ui/gfx/screen.h"
44 44
45 using blink::WebScreenInfo; 45 using blink::WebScreenInfo;
46 46
47 namespace autofill { 47 namespace autofill {
48 namespace risk { 48 namespace risk {
49 49
50 namespace { 50 namespace {
51 51
52 const int32 kFingerprinterVersion = 1; 52 const int32 kFingerprinterVersion = 1;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 host_view->GetRenderWidgetHost()->GetWebScreenInfo(&screen_info); 484 host_view->GetRenderWidgetHost()->GetWebScreenInfo(&screen_info);
485 485
486 internal::GetFingerprintInternal( 486 internal::GetFingerprintInternal(
487 obfuscated_gaia_id, window_bounds, content_bounds, screen_info, version, 487 obfuscated_gaia_id, window_bounds, content_bounds, screen_info, version,
488 charset, accept_languages, install_time, app_locale, user_agent, 488 charset, accept_languages, install_time, app_locale, user_agent,
489 base::TimeDelta::FromSeconds(kTimeoutSeconds), callback); 489 base::TimeDelta::FromSeconds(kTimeoutSeconds), callback);
490 } 490 }
491 491
492 } // namespace risk 492 } // namespace risk
493 } // namespace autofill 493 } // namespace autofill
OLDNEW
« no previous file with comments | « chromecast/media/cma/test/mock_frame_provider.cc ('k') | components/autofill/content/browser/risk/fingerprint_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698