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

Unified Diff: sandbox/win/tests/validation_tests/commands.h

Issue 109843003: Replace wstring with string16 in sandbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « sandbox/win/tests/common/controller.cc ('k') | sandbox/win/tests/validation_tests/commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « sandbox/win/tests/common/controller.cc ('k') | sandbox/win/tests/validation_tests/commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698