| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 | 4 |
| 5 #include <string> | 5 #include <string> |
| 6 #include "base/file_path.h" | 6 #include "base/file_path.h" |
| 7 #include "base/waitable_event.h" | 7 #include "base/waitable_event.h" |
| 8 #include "chrome/common/automation_messages.h" |
| 8 #include "chrome_frame/cfproxy_private.h" | 9 #include "chrome_frame/cfproxy_private.h" |
| 9 #include "chrome/test/automation/automation_messages.h" | |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
| 12 #include "testing/gmock_mutant.h" | 12 #include "testing/gmock_mutant.h" |
| 13 | 13 |
| 14 using testing::_; | 14 using testing::_; |
| 15 using testing::DoAll; | 15 using testing::DoAll; |
| 16 using testing::NotNull; | 16 using testing::NotNull; |
| 17 using testing::Return; | 17 using testing::Return; |
| 18 using testing::StrictMock; | 18 using testing::StrictMock; |
| 19 using testing::InvokeWithoutArgs; | 19 using testing::InvokeWithoutArgs; |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 | 536 |
| 537 // Tuple3<int, GURL, int> | 537 // Tuple3<int, GURL, int> |
| 538 AutomationMsg_GetCookiesFromHost m18(0, 1, url, 903); | 538 AutomationMsg_GetCookiesFromHost m18(0, 1, url, 903); |
| 539 EXPECT_CALL(delegate, GetCookies(url, 903)); | 539 EXPECT_CALL(delegate, GetCookies(url, 903)); |
| 540 EXPECT_TRUE(DispatchTabMessageToDelegate(&delegate, m18)); | 540 EXPECT_TRUE(DispatchTabMessageToDelegate(&delegate, m18)); |
| 541 | 541 |
| 542 AutomationMsg_CloseExternalTab m19(0, 1); | 542 AutomationMsg_CloseExternalTab m19(0, 1); |
| 543 EXPECT_CALL(delegate, TabClosed()); | 543 EXPECT_CALL(delegate, TabClosed()); |
| 544 EXPECT_TRUE(DispatchTabMessageToDelegate(&delegate, m19)); | 544 EXPECT_TRUE(DispatchTabMessageToDelegate(&delegate, m19)); |
| 545 } | 545 } |
| OLD | NEW |