| OLD | NEW |
| 1 | 1 |
| 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 #include <string> | 6 #include <string> |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "base/waitable_event.h" | 8 #include "base/synchronization/waitable_event.h" |
| 9 #include "chrome/common/automation_messages.h" | 9 #include "chrome/common/automation_messages.h" |
| 10 #include "chrome_frame/cfproxy_private.h" | 10 #include "chrome_frame/cfproxy_private.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
| 13 #include "testing/gmock_mutant.h" | 13 #include "testing/gmock_mutant.h" |
| 14 | 14 |
| 15 using testing::_; | 15 using testing::_; |
| 16 using testing::DoAll; | 16 using testing::DoAll; |
| 17 using testing::NotNull; | 17 using testing::NotNull; |
| 18 using testing::Return; | 18 using testing::Return; |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 &SyncMsgSender::OnReplyReceived, r2.get())); | 366 &SyncMsgSender::OnReplyReceived, r2.get())); |
| 367 ipc.Stop(); | 367 ipc.Stop(); |
| 368 | 368 |
| 369 // Expect that tab 6 has been associated with the delegate. | 369 // Expect that tab 6 has been associated with the delegate. |
| 370 EXPECT_EQ(&d1, tab2delegate[6]); | 370 EXPECT_EQ(&d1, tab2delegate[6]); |
| 371 } | 371 } |
| 372 | 372 |
| 373 TEST(SyncMsgSender, OnChannelClosed) { | 373 TEST(SyncMsgSender, OnChannelClosed) { |
| 374 // TODO(stoyan): implement. | 374 // TODO(stoyan): implement. |
| 375 } | 375 } |
| OLD | NEW |