Loading metricsd/uploader/sender_http.cc +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ #include <brillo/http/http_utils.h> #include <brillo/mime_utils.h> HttpSender::HttpSender(const std::string server_url) HttpSender::HttpSender(const std::string& server_url) : server_url_(server_url) {} bool HttpSender::Send(const std::string& content, Loading metricsd/uploader/sender_http.h +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ // Sender implemented using http_utils from libbrillo class HttpSender : public Sender { public: explicit HttpSender(std::string server_url); explicit HttpSender(const std::string& server_url); ~HttpSender() override = default; // Sends |content| whose SHA1 hash is |hash| to server_url with a synchronous // POST request to server_url. Loading Loading
metricsd/uploader/sender_http.cc +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ #include <brillo/http/http_utils.h> #include <brillo/mime_utils.h> HttpSender::HttpSender(const std::string server_url) HttpSender::HttpSender(const std::string& server_url) : server_url_(server_url) {} bool HttpSender::Send(const std::string& content, Loading
metricsd/uploader/sender_http.h +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ // Sender implemented using http_utils from libbrillo class HttpSender : public Sender { public: explicit HttpSender(std::string server_url); explicit HttpSender(const std::string& server_url); ~HttpSender() override = default; // Sends |content| whose SHA1 hash is |hash| to server_url with a synchronous // POST request to server_url. Loading