OLD | NEW |
---|---|
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 #include "components/autofill/core/browser/test_autofill_driver.h" | 5 #include "components/autofill/core/browser/test_autofill_driver.h" |
6 | 6 |
7 #include "base/test/sequenced_worker_pool_owner.h" | 7 #include "base/test/sequenced_worker_pool_owner.h" |
8 #include "base/threading/sequenced_worker_pool.h" | 8 #include "base/threading/sequenced_worker_pool.h" |
9 #include "ui/gfx/geometry/rect_f.h" | |
9 | 10 |
10 namespace autofill { | 11 namespace autofill { |
11 | 12 |
12 TestAutofillDriver::TestAutofillDriver() | 13 TestAutofillDriver::TestAutofillDriver() |
13 : blocking_pool_owner_( | 14 : blocking_pool_owner_( |
14 new base::SequencedWorkerPoolOwner(4, "TestAutofillDriver")), | 15 new base::SequencedWorkerPoolOwner(4, "TestAutofillDriver")), |
15 url_request_context_(NULL) {} | 16 url_request_context_(NULL) {} |
16 | 17 |
17 TestAutofillDriver::~TestAutofillDriver() {} | 18 TestAutofillDriver::~TestAutofillDriver() {} |
18 | 19 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 const base::string16& value) { | 65 const base::string16& value) { |
65 } | 66 } |
66 | 67 |
67 void TestAutofillDriver::RendererShouldPreviewFieldWithValue( | 68 void TestAutofillDriver::RendererShouldPreviewFieldWithValue( |
68 const base::string16& value) { | 69 const base::string16& value) { |
69 } | 70 } |
70 | 71 |
71 void TestAutofillDriver::PopupHidden() { | 72 void TestAutofillDriver::PopupHidden() { |
72 } | 73 } |
73 | 74 |
75 gfx::RectF TestAutofillDriver::TransformBoundingBox( | |
Charlie Reis
2016/01/21 00:33:03
Is there any way to test the new API, either here
kenrb
2016/01/22 18:33:58
The API is tested implicitly by SitePerProcessBrow
Charlie Reis
2016/01/22 23:04:54
Acknowledged.
| |
76 const gfx::RectF& bounding_box) { | |
77 return bounding_box; | |
78 } | |
79 | |
74 } // namespace autofill | 80 } // namespace autofill |
OLD | NEW |