Index: chrome/browser/ui/passwords/password_manager_presenter_unittest.cc |
diff --git a/chrome/browser/ui/passwords/password_manager_presenter_unittest.cc b/chrome/browser/ui/passwords/password_manager_presenter_unittest.cc |
index 6155909f6ceb40813ebd7075a1a53621acc2bcd1..eb77470daf2040df321941a18978e3356f797b90 100644 |
--- a/chrome/browser/ui/passwords/password_manager_presenter_unittest.cc |
+++ b/chrome/browser/ui/passwords/password_manager_presenter_unittest.cc |
@@ -23,6 +23,9 @@ class MockPasswordUIView : public PasswordUIView { |
} |
virtual ~MockPasswordUIView() {} |
virtual Profile* GetProfile() OVERRIDE; |
+#if !defined(OS_ANDROID) |
+ virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
+#endif |
MOCK_METHOD2(ShowPassword, void(size_t, const string16&)); |
MOCK_METHOD2(SetPasswordList, |
void(const ScopedVector<autofill::PasswordForm>&, bool)); |
@@ -39,6 +42,9 @@ class MockPasswordUIView : public PasswordUIView { |
DISALLOW_COPY_AND_ASSIGN(MockPasswordUIView); |
}; |
+#if !defined(OS_ANDROID) |
+gfx::NativeWindow MockPasswordUIView::GetNativeWindow() { return NULL; } |
+#endif |
Profile* MockPasswordUIView::GetProfile() { return profile_; } |
class PasswordManagerPresenterTest : public testing::Test { |