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

Unified Diff: chrome/common/sandbox_init_wrapper.h

Issue 270062: Use ASCII strings for switch names. (Closed)
Patch Set: victory Created 11 years, 2 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
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | chrome/common/sandbox_init_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/sandbox_init_wrapper.h
diff --git a/chrome/common/sandbox_init_wrapper.h b/chrome/common/sandbox_init_wrapper.h
index c8893a30ef993974da83f60861af5210a7778ff0..a1c2de9b17780cd4512e757fac635f9676f3de60 100644
--- a/chrome/common/sandbox_init_wrapper.h
+++ b/chrome/common/sandbox_init_wrapper.h
@@ -34,7 +34,7 @@ class SandboxInitWrapper {
// Initialize the sandbox for renderer and plug-in processes, depending on
// the command line flags. The browser process is not sandboxed.
void InitializeSandbox(const CommandLine& parsed_command_line,
- const std::wstring& process_type);
+ const std::string& process_type);
private:
sandbox::BrokerServices* broker_services_;
sandbox::TargetServices* target_services_;
@@ -51,14 +51,14 @@ class SandboxInitWrapper {
// Initialize the sandbox for renderer and plug-in processes, depending on
// the command line flags. The browser process is not sandboxed.
void InitializeSandbox(const CommandLine& parsed_command_line,
- const std::wstring& process_type);
+ const std::string& process_type);
#if defined(OS_MACOSX)
// We keep the process type so we can configure the sandbox as needed.
public:
- std::wstring ProcessType() const { return process_type_; }
+ std::string ProcessType() const { return process_type_; }
private:
- std::wstring process_type_;
+ std::string process_type_;
#endif
private:
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | chrome/common/sandbox_init_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698