| OLD | NEW |
| 1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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 #include "base/waitable_event.h" | 4 #include "base/synchronization/waitable_event.h" |
| 5 #include "chrome_frame/test/proxy_factory_mock.h" | 5 #include "chrome_frame/test/proxy_factory_mock.h" |
| 6 | 6 |
| 7 #define GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING | 7 #define GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING |
| 8 #include "testing/gmock_mutant.h" | 8 #include "testing/gmock_mutant.h" |
| 9 | 9 |
| 10 using testing::CreateFunctor; | 10 using testing::CreateFunctor; |
| 11 using testing::_; | 11 using testing::_; |
| 12 | 12 |
| 13 DISABLE_RUNNABLE_METHOD_REFCOUNT(MockProxyFactory); | 13 DISABLE_RUNNABLE_METHOD_REFCOUNT(MockProxyFactory); |
| 14 | 14 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void* i2 = NULL; | 118 void* i2 = NULL; |
| 119 f.GetAutomationServer(d2, params, &i2); | 119 f.GetAutomationServer(d2, params, &i2); |
| 120 EXPECT_EQ(i1, i2); | 120 EXPECT_EQ(i1, i2); |
| 121 f.ReleaseAutomationServer(i2, d2); | 121 f.ReleaseAutomationServer(i2, d2); |
| 122 delete d2; | 122 delete d2; |
| 123 | 123 |
| 124 ::SetThreadPriority(::GetCurrentThread(), THREAD_PRIORITY_NORMAL); | 124 ::SetThreadPriority(::GetCurrentThread(), THREAD_PRIORITY_NORMAL); |
| 125 f.ReleaseAutomationServer(i1, d1); | 125 f.ReleaseAutomationServer(i1, d1); |
| 126 delete d1; | 126 delete d1; |
| 127 } | 127 } |
| OLD | NEW |