new MockAutofillManager(this, client));
SetAutofillManager(autofill_manager.Pass());
}
- virtual ~TestContentAutofillDriver() {}
+ ~TestContentAutofillDriver() override {}
virtual MockAutofillManager* mock_autofill_manager() {
return static_cast<MockAutofillManager*>(autofill_manager());
class ContentAutofillDriverTest : public content::RenderViewHostTestHarness {
public:
- virtual void SetUp() OVERRIDE {
+ void SetUp() override {
content::RenderViewHostTestHarness::SetUp();
test_autofill_client_.reset(new TestAutofillClient());
test_autofill_client_.get()));
}
- virtual void TearDown() OVERRIDE {
+ void TearDown() override {
// Reset the driver now to cause all pref observers to be removed and avoid
// crashes that otherwise occur in the destructor.
driver_.reset();