Index: content/browser/devtools/devtools_http_handler_unittest.cc |
diff --git a/content/browser/devtools/devtools_http_handler_unittest.cc b/content/browser/devtools/devtools_http_handler_unittest.cc |
index 839ef600db6e2fa953563918ca68b0717cebe36c..c926015c24787cb8e5c448c833f98807c17529e2 100644 |
--- a/content/browser/devtools/devtools_http_handler_unittest.cc |
+++ b/content/browser/devtools/devtools_http_handler_unittest.cc |
@@ -56,20 +56,20 @@ class DummyListenSocketFactory : public net::StreamListenSocketFactory { |
class DummyDelegate : public DevToolsHttpHandlerDelegate { |
public: |
- virtual std::string GetDiscoveryPageHTML() OVERRIDE { return ""; } |
+ virtual std::string GetDiscoveryPageHTML() OVERRIDE { return std::string(); } |
virtual bool BundlesFrontendResources() OVERRIDE { return true; } |
virtual base::FilePath GetDebugFrontendDir() OVERRIDE { |
return base::FilePath(); |
} |
virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE { |
- return ""; |
+ return std::string(); |
} |
virtual RenderViewHost* CreateNewTarget() OVERRIDE { return NULL; } |
virtual TargetType GetTargetType(RenderViewHost*) OVERRIDE { |
return kTargetTypeTab; |
} |
virtual std::string GetViewDescription(content::RenderViewHost*) OVERRIDE { |
- return ""; |
+ return std::string(); |
} |
}; |
@@ -98,9 +98,9 @@ TEST_F(DevToolsHttpHandlerTest, TestStartStop) { |
base::RunLoop run_loop, run_loop_2; |
content::DevToolsHttpHandler* devtools_http_handler_ = |
content::DevToolsHttpHandler::Start( |
- new DummyListenSocketFactory( |
- run_loop.QuitClosure(), run_loop_2.QuitClosure()), |
- "", |
+ new DummyListenSocketFactory(run_loop.QuitClosure(), |
+ run_loop_2.QuitClosure()), |
+ std::string(), |
new DummyDelegate()); |
// Our dummy socket factory will post a quit message once the server will |
// become ready. |