| Index: chrome/browser/debugger/debugger_remote_service.cc
|
| diff --git a/chrome/browser/debugger/debugger_remote_service.cc b/chrome/browser/debugger/debugger_remote_service.cc
|
| index a93084fc1f5b42922393cf7c2caa448318071f2b..f1622f255c339d0393bd73c1b2e2d6c11a734e3a 100644
|
| --- a/chrome/browser/debugger/debugger_remote_service.cc
|
| +++ b/chrome/browser/debugger/debugger_remote_service.cc
|
| @@ -32,15 +32,15 @@ const char kCommandKey[] = "command";
|
|
|
| } // namespace
|
|
|
| -const std::string DebuggerRemoteServiceCommand::kAttach = "attach";
|
| -const std::string DebuggerRemoteServiceCommand::kDetach = "detach";
|
| -const std::string DebuggerRemoteServiceCommand::kDebuggerCommand =
|
| +const char* const DebuggerRemoteServiceCommand::kAttach = "attach";
|
| +const char* const DebuggerRemoteServiceCommand::kDetach = "detach";
|
| +const char* const DebuggerRemoteServiceCommand::kDebuggerCommand =
|
| "debugger_command";
|
| -const std::string DebuggerRemoteServiceCommand::kEvaluateJavascript =
|
| +const char* const DebuggerRemoteServiceCommand::kEvaluateJavascript =
|
| "evaluate_javascript";
|
| -const std::string DebuggerRemoteServiceCommand::kFrameNavigate =
|
| +const char* const DebuggerRemoteServiceCommand::kFrameNavigate =
|
| "navigated";
|
| -const std::string DebuggerRemoteServiceCommand::kTabClosed =
|
| +const char* const DebuggerRemoteServiceCommand::kTabClosed =
|
| "closed";
|
|
|
| const std::string DebuggerRemoteService::kToolName = "V8Debugger";
|
| @@ -156,7 +156,7 @@ void DebuggerRemoteService::DebuggerOutput(int32 tab_uid,
|
| const std::string& message) {
|
| std::string content = StringPrintf(
|
| "{\"command\":\"%s\",\"result\":%s,\"data\":%s}",
|
| - DebuggerRemoteServiceCommand::kDebuggerCommand.c_str(),
|
| + DebuggerRemoteServiceCommand::kDebuggerCommand,
|
| base::IntToString(RESULT_OK).c_str(),
|
| message.c_str());
|
| scoped_ptr<DevToolsRemoteMessage> response_message(
|
|
|