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

Unified Diff: sandbox/win/sandbox_poc/main_ui_window.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 | « no previous file | sandbox/win/sandbox_poc/main_ui_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/sandbox_poc/main_ui_window.h
diff --git a/sandbox/win/sandbox_poc/main_ui_window.h b/sandbox/win/sandbox_poc/main_ui_window.h
index c70189abfe71b088c3ded0ef985c82b7f6780c87..84fb9861c90dbd82a97e0e6a94fdf16b993b87f0 100644
--- a/sandbox/win/sandbox_poc/main_ui_window.h
+++ b/sandbox/win/sandbox_poc/main_ui_window.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/strings/string16.h"
namespace sandbox {
class BrokerServices;
@@ -124,11 +125,11 @@ class MainUIWindow {
// Shows a standard File Open dialog and returns the DLL filename selected or
// blank string if the user cancelled (or an error occurred).
- std::wstring OnShowBrowseForDllDlg(HWND owner);
+ base::string16 OnShowBrowseForDllDlg(HWND owner);
// Shows a standard Save As dialog and returns the log filename selected or
// blank string if the user cancelled (or an error occurred).
- std::wstring OnShowBrowseForLogFileDlg(HWND owner);
+ base::string16 OnShowBrowseForLogFileDlg(HWND owner);
// Formats a message using the supplied format string and prints it in the
// listview in the main UI window. Passing a NULL param in 'fmt' results in
@@ -164,20 +165,20 @@ class MainUIWindow {
// This is essentially a command line to a target executable that the
// broker will spawn and ask to load the DLL.
- std::wstring spawn_target_;
+ base::string16 spawn_target_;
// A handle to the current instance of the app. Passed in to this class
// through CreateMainWindowAndLoop.
HINSTANCE instance_handle_;
// A path to the DLL that the target should load once it executes.
- std::wstring dll_path_;
+ base::string16 dll_path_;
// The name of the entry point the target should call after it loads the DLL.
- std::wstring entry_point_;
+ base::string16 entry_point_;
// The name of the log file to use.
- std::wstring log_file_;
+ base::string16 log_file_;
// This is a static handle to the list view that fills up the entire main
// UI window. The list view is used to display debugging information to the
« no previous file with comments | « no previous file | sandbox/win/sandbox_poc/main_ui_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698