Index: sandbox/win/tests/validation_tests/commands.h |
diff --git a/sandbox/win/tests/validation_tests/commands.h b/sandbox/win/tests/validation_tests/commands.h |
index 9b797a511d904281a7ec8561f7aa95d34d2e9c25..3a6a0f5f0dc2b99889722fcf92bbf8321047e018 100644 |
--- a/sandbox/win/tests/validation_tests/commands.h |
+++ b/sandbox/win/tests/validation_tests/commands.h |
@@ -5,6 +5,10 @@ |
#ifndef SANDBOX_TESTS_VALIDATION_TESTS_COMMANDS_H__ |
#define SANDBOX_TESTS_VALIDATION_TESTS_COMMANDS_H__ |
+#include <windows.h> |
+ |
+#include "base/strings/string16.h" |
+ |
namespace sandbox { |
// Checks if window is a real window. Returns a SboxTestResult. |
@@ -17,13 +21,13 @@ int TestOpenProcess(DWORD process_id, DWORD access_mask); |
int TestOpenThread(DWORD thread_id); |
// Tries to open path for read access. Returns a SboxTestResult. |
-int TestOpenReadFile(const std::wstring& path); |
+int TestOpenReadFile(const base::string16& path); |
// Tries to open path for write access. Returns a SboxTestResult. |
-int TestOpenWriteFile(const std::wstring& path); |
+int TestOpenWriteFile(const base::string16& path); |
// Tries to open a registry key. |
-int TestOpenKey(HKEY base_key, std::wstring subkey); |
+int TestOpenKey(HKEY base_key, base::string16 subkey); |
// Tries to open the workstation's input desktop as long as the |
// current desktop is not the interactive one. Returns a SboxTestResult. |