Index: base/win/message_window_unittest.cc |
diff --git a/remoting/host/win/message_window_unittest.cc b/base/win/message_window_unittest.cc |
similarity index 89% |
rename from remoting/host/win/message_window_unittest.cc |
rename to base/win/message_window_unittest.cc |
index d12af7b68ebb79939cc52019d66aaacd719c0493..8f5ff43aa2a4626de6572b77342831e92979432c 100644 |
--- a/remoting/host/win/message_window_unittest.cc |
+++ b/base/win/message_window_unittest.cc |
@@ -2,11 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "remoting/host/win/message_window.h" |
+#include "base/win/message_window.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-namespace remoting { |
+namespace base { |
namespace { |
@@ -46,16 +46,16 @@ bool MessageWindowDelegate::HandleMessage( |
TEST(MessageWindowTest, Create) { |
MessageWindowDelegate delegate; |
win::MessageWindow window; |
- EXPECT_TRUE(window.Create(&delegate)); |
+ EXPECT_TRUE(window.Create(&delegate, NULL)); |
} |
// Verifies that the created window can receive messages. |
TEST(MessageWindowTest, SendMessage) { |
MessageWindowDelegate delegate; |
win::MessageWindow window; |
- EXPECT_TRUE(window.Create(&delegate)); |
+ EXPECT_TRUE(window.Create(&delegate, NULL)); |
EXPECT_EQ(SendMessage(window.hwnd(), WM_USER, 100, 0), 100); |
} |
-} // namespace remoting |
+} // namespace base |