| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 4 |
| 5 #include <atlbase.h> | 5 #include <atlbase.h> |
| 6 #include <atlcom.h> | 6 #include <atlcom.h> |
| 7 | 7 |
| 8 #include "app/win/scoped_com_initializer.h" | 8 #include "app/win/scoped_com_initializer.h" |
| 9 #include "chrome/common/automation_messages.h" |
| 9 #include "chrome_frame/test/chrome_frame_test_utils.h" | 10 #include "chrome_frame/test/chrome_frame_test_utils.h" |
| 10 #include "chrome_frame/test/test_server.h" | 11 #include "chrome_frame/test/test_server.h" |
| 11 #include "chrome_frame/test/test_with_web_server.h" | 12 #include "chrome_frame/test/test_with_web_server.h" |
| 12 #include "chrome_frame/urlmon_url_request.h" | 13 #include "chrome_frame/urlmon_url_request.h" |
| 13 #include "chrome_frame/urlmon_url_request_private.h" | 14 #include "chrome_frame/urlmon_url_request_private.h" |
| 14 #include "testing/gmock_mutant.h" | 15 #include "testing/gmock_mutant.h" |
| 15 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 18 |
| 18 using testing::CreateFunctor; | 19 using testing::CreateFunctor; |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 EXPECT_CALL(mock, OnReadComplete(1, testing::_)) | 307 EXPECT_CALL(mock, OnReadComplete(1, testing::_)) |
| 307 .Times(0); | 308 .Times(0); |
| 308 | 309 |
| 309 EXPECT_CALL(mock, OnResponseEnd(1, testing::_)) | 310 EXPECT_CALL(mock, OnResponseEnd(1, testing::_)) |
| 310 .Times(0); | 311 .Times(0); |
| 311 | 312 |
| 312 mgr->StartUrlRequest(1, r1); | 313 mgr->StartUrlRequest(1, r1); |
| 313 loop.RunFor(kChromeFrameLongNavigationTimeoutInSeconds); | 314 loop.RunFor(kChromeFrameLongNavigationTimeoutInSeconds); |
| 314 mgr.reset(); | 315 mgr.reset(); |
| 315 } | 316 } |
| OLD | NEW |