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

Unified Diff: shell/shell_apptest.cc

Issue 992273002: Random drive-by cleanup. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: log seek failures Created 5 years, 9 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 | « shell/application_manager/data_pipe_peek.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/shell_apptest.cc
diff --git a/shell/shell_apptest.cc b/shell/shell_apptest.cc
index 7b610a737276233e9867072ea9564a40fc7fdeed..0db1437fba9a92b6645cea770f3959e201c46b15 100644
--- a/shell/shell_apptest.cc
+++ b/shell/shell_apptest.cc
@@ -20,16 +20,15 @@
#include "services/http_server/public/http_server_util.h"
#include "shell/kPingable.h"
#include "shell/test/pingable.mojom.h"
-namespace mojo {
+namespace mojo {
namespace {
std::string GetURL(uint16_t port, const std::string& path) {
- return base::StringPrintf("http://127.0.0.1:%u/%s", port, path.c_str());
+ return base::StringPrintf("http://127.0.0.1:%u/%s",
+ static_cast<unsigned>(port), path.c_str());
}
-} // namespace
-
class GetHandler : public http_server::HttpHandler {
public:
GetHandler(InterfaceRequest<http_server::HttpHandler> request, uint16_t port)
@@ -194,4 +193,5 @@ TEST_F(ShellAppTest, MojoURLQueryHandling) {
base::RunLoop().Run();
}
+} // namespace
} // namespace mojo
« no previous file with comments | « shell/application_manager/data_pipe_peek.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698