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

Unified Diff: content/shell/shell_devtools_delegate.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/v8_value_converter_impl_unittest.cc ('k') | content/test/gpu/gpu_test_config_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_devtools_delegate.cc
diff --git a/content/shell/shell_devtools_delegate.cc b/content/shell/shell_devtools_delegate.cc
index 58182f113e88704cc7c393b155012fb3738d7e59..07ebbdea531df36d8cf4dc6ef2d6d18292620469 100644
--- a/content/shell/shell_devtools_delegate.cc
+++ b/content/shell/shell_devtools_delegate.cc
@@ -30,12 +30,11 @@ ShellDevToolsDelegate::ShellDevToolsDelegate(BrowserContext* browser_context,
devtools_http_handler_ = DevToolsHttpHandler::Start(
#if defined(OS_ANDROID)
new net::UnixDomainSocketWithAbstractNamespaceFactory(
- kSocketName,
- base::Bind(&CanUserConnectToDevTools)),
+ kSocketName, base::Bind(&CanUserConnectToDevTools)),
#else
new net::TCPListenSocketFactory("127.0.0.1", port),
#endif
- "",
+ std::string(),
this);
}
@@ -61,7 +60,7 @@ base::FilePath ShellDevToolsDelegate::GetDebugFrontendDir() {
}
std::string ShellDevToolsDelegate::GetPageThumbnailData(const GURL& url) {
- return "";
+ return std::string();
}
RenderViewHost* ShellDevToolsDelegate::CreateNewTarget() {
@@ -80,7 +79,7 @@ ShellDevToolsDelegate::GetTargetType(RenderViewHost*) {
std::string ShellDevToolsDelegate::GetViewDescription(
content::RenderViewHost*) {
- return "";
+ return std::string();
}
} // namespace content
« no previous file with comments | « content/renderer/v8_value_converter_impl_unittest.cc ('k') | content/test/gpu/gpu_test_config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698