Index: chrome_frame/test/chrome_frame_unittests.cc |
=================================================================== |
--- chrome_frame/test/chrome_frame_unittests.cc (revision 37418) |
+++ chrome_frame/test/chrome_frame_unittests.cc (working copy) |
@@ -21,7 +21,6 @@ |
#include "chrome_frame/test/chrome_frame_unittests.h" |
#include "chrome_frame/chrome_frame_automation.h" |
#include "chrome_frame/chrome_frame_delegate.h" |
-#include "chrome_frame/crash_reporting/vectored_handler-impl.h" |
#include "chrome_frame/test/chrome_frame_test_utils.h" |
#include "chrome_frame/test_utils.h" |
#include "chrome/common/chrome_switches.h" |
@@ -888,16 +887,6 @@ |
void ReleaseCallee(chrome_frame_test::TimedMsgLoop* obj) {} |
}; |
-// Saves typing. It's somewhat hard to create a wrapper around |
-// testing::InvokeWithoutArgs since it returns a |
-// non-public (testing::internal) type. |
-#define QUIT_LOOP(loop) testing::InvokeWithoutArgs(\ |
- CreateFunctor(&loop, &chrome_frame_test::TimedMsgLoop::Quit)) |
- |
-#define QUIT_LOOP_SOON(loop, seconds) testing::InvokeWithoutArgs(\ |
- CreateFunctor(&loop, &chrome_frame_test::TimedMsgLoop::QuitAfter, \ |
- seconds)) |
- |
// We mock ChromeFrameDelegate only. The rest is with real AutomationProxy |
TEST(CFACWithChrome, CreateTooFast) { |
MockCFDelegate cfd; |