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

Unified Diff: runtime/bin/utils.h

Issue 11565008: Use unicode versions of process APIs on Windows. Additionally, (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « runtime/bin/process_win.cc ('k') | runtime/bin/utils_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/utils.h
diff --git a/runtime/bin/utils.h b/runtime/bin/utils.h
index e655f6cd2d1a82de7da8fe95941741f5a48ee0c4..ba236ebc7f908b0b6d9a850b4838c01880a8b6d9 100644
--- a/runtime/bin/utils.h
+++ b/runtime/bin/utils.h
@@ -69,4 +69,13 @@ class StringUtils {
static const wchar_t* Utf8ToWide(const char* utf8);
};
+class ShellUtils {
+ public:
+ // Get the arguments passed to the program as unicode strings.
+ // If GetUnicodeArgv returns a pointer that pointer has to be
+ // deallocated with a call to FreeUnicodeArgv.
+ static wchar_t** GetUnicodeArgv(int* argc);
+ static void FreeUnicodeArgv(wchar_t** argv);
+};
+
#endif // BIN_UTILS_H_
« no previous file with comments | « runtime/bin/process_win.cc ('k') | runtime/bin/utils_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698