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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/service_runtime.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #define NACL_LOG_MODULE_NAME "Plugin::ServiceRuntime" 7 #define NACL_LOG_MODULE_NAME "Plugin::ServiceRuntime"
8 8
9 #include "native_client/src/trusted/plugin/service_runtime.h" 9 #include "native_client/src/trusted/plugin/service_runtime.h"
10 10
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 839
840 void ServiceRuntime::set_exit_status(int exit_status) { 840 void ServiceRuntime::set_exit_status(int exit_status) {
841 nacl::MutexLocker take(&mu_); 841 nacl::MutexLocker take(&mu_);
842 exit_status_ = exit_status & 0xff; 842 exit_status_ = exit_status & 0xff;
843 } 843 }
844 844
845 nacl::string ServiceRuntime::GetCrashLogOutput() { 845 nacl::string ServiceRuntime::GetCrashLogOutput() {
846 if (NULL != subprocess_.get()) { 846 if (NULL != subprocess_.get()) {
847 return subprocess_->GetCrashLogOutput(); 847 return subprocess_->GetCrashLogOutput();
848 } else { 848 } else {
849 return ""; 849 return std::string();
850 } 850 }
851 } 851 }
852 852
853 } // namespace plugin 853 } // namespace plugin
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc ('k') | ppapi/proxy/audio_input_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698