Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: base/win/pe_image_test.cc

Issue 946183002: Add base_unittests to win8 trybot. Fix PEImage tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: expectation logic fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/win/pe_image_test.cc
diff --git a/ipc/ipc_message_attachment.cc b/base/win/pe_image_test.cc
similarity index 52%
copy from ipc/ipc_message_attachment.cc
copy to base/win/pe_image_test.cc
index 83440ae8e008847eebd411f8ffd08c69d9f529fe..afeb6873b11e451876ecd1a12f6dce7efd27a1a4 100644
--- a/ipc/ipc_message_attachment.cc
+++ b/base/win/pe_image_test.cc
@@ -2,14 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ipc/ipc_message_attachment.h"
+#include <windows.h>
-namespace IPC {
+extern "C" {
-MessageAttachment::MessageAttachment() {
+__declspec(dllexport) void export_func() {
rvargas (doing something else) 2015/02/24 01:52:20 CamelCase for functions?
Will Harris 2015/02/24 19:00:28 Done.
+ HWND dummy = GetDesktopWindow();
+ SetWindowTextA(dummy, "dummy");
}
-
-MessageAttachment::~MessageAttachment() {
}
-
-} // namespace IPC

Powered by Google App Engine
This is Rietveld 408576698