Index: cloud_print/gcp20/prototype/privet_http_server.cc |
diff --git a/cloud_print/gcp20/prototype/privet_http_server.cc b/cloud_print/gcp20/prototype/privet_http_server.cc |
index 5b4086fbed6020d8857f233f10a8448a1b94274f..c0334395dbb29e065bc895558a80ea3cde310c07 100644 |
--- a/cloud_print/gcp20/prototype/privet_http_server.cc |
+++ b/cloud_print/gcp20/prototype/privet_http_server.cc |
@@ -139,7 +139,8 @@ void PrivetHttpServer::OnHttpRequest(int connection_id, |
if (!ValidateRequestMethod(connection_id, url.path(), info.method)) |
return; |
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableXTocken)) { |
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableXTocken)) { |
net::HttpServerRequestInfo::HeadersMap::const_iterator iter = |
info.headers.find("x-privet-token"); |
if (iter == info.headers.end()) { |
@@ -192,7 +193,8 @@ bool PrivetHttpServer::ValidateRequestMethod(int connection_id, |
return false; |
} |
- if (CommandLine::ForCurrentProcess()->HasSwitch("disable-method-check")) |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ "disable-method-check")) |
return true; |
if ((IsGetMethod(request) && method != "GET") || |