| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/autofill/risk/fingerprint.h" | 5 #include "chrome/browser/autofill/risk/fingerprint.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/port.h" | 9 #include "base/port.h" |
| 10 #include "base/prefs/pref_registry_simple.h" |
| 10 #include "base/prefs/public/pref_service_base.h" | 11 #include "base/prefs/public/pref_service_base.h" |
| 11 #include "chrome/browser/autofill/risk/proto/fingerprint.pb.h" | 12 #include "chrome/browser/autofill/risk/proto/fingerprint.pb.h" |
| 12 #include "chrome/browser/prefs/pref_registry_simple.h" | |
| 13 #include "chrome/common/pref_names.h" | 13 #include "chrome/common/pref_names.h" |
| 14 #include "chrome/test/base/in_process_browser_test.h" | 14 #include "chrome/test/base/in_process_browser_test.h" |
| 15 #include "chrome/test/base/testing_pref_service.h" | 15 #include "chrome/test/base/testing_pref_service.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" | 17 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" |
| 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebScreenInfo.h" | 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebScreenInfo.h" |
| 19 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
| 20 | 20 |
| 21 namespace autofill { | 21 namespace autofill { |
| 22 namespace risk { | 22 namespace risk { |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 base::Unretained(this))); | 146 base::Unretained(this))); |
| 147 | 147 |
| 148 // Wait for the callback to be called. | 148 // Wait for the callback to be called. |
| 149 // TODO(isherman): Investigating http://crbug.com/174296 | 149 // TODO(isherman): Investigating http://crbug.com/174296 |
| 150 LOG(WARNING) << "Waiting for the callback to be called."; | 150 LOG(WARNING) << "Waiting for the callback to be called."; |
| 151 message_loop_.Run(); | 151 message_loop_.Run(); |
| 152 } | 152 } |
| 153 | 153 |
| 154 } // namespace risk | 154 } // namespace risk |
| 155 } // namespace autofill | 155 } // namespace autofill |
| OLD | NEW |