diff options
Diffstat (limited to 'chrome/browser/automation/automation_provider_unittest.cc')
-rw-r--r-- | chrome/browser/automation/automation_provider_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider_unittest.cc b/chrome/browser/automation/automation_provider_unittest.cc index 356d0f4..c931701 100644 --- a/chrome/browser/automation/automation_provider_unittest.cc +++ b/chrome/browser/automation/automation_provider_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "chrome/browser/browser_thread.h" #include "chrome/browser/automation/chrome_frame_automation_provider.h" #include "ipc/ipc_message.h" #include "testing/gmock/include/gmock/gmock.h" @@ -20,6 +21,9 @@ class MockChromeFrameAutomationProvider }; TEST(AutomationProviderTest, TestInvalidChromeFrameMessage) { + MessageLoop message_loop; + BrowserThread ui_thread(BrowserThread::UI, &message_loop); + IPC::Message bad_msg(1, -1, IPC::Message::PRIORITY_NORMAL); scoped_refptr<MockChromeFrameAutomationProvider> |