summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net')
-rw-r--r--chrome/browser/net/url_info.cc8
-rw-r--r--chrome/browser/net/url_info.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/net/url_info.cc b/chrome/browser/net/url_info.cc
index 8418b12..cc02165 100644
--- a/chrome/browser/net/url_info.cc
+++ b/chrome/browser/net/url_info.cc
@@ -259,10 +259,10 @@ static std::string HoursMinutesSeconds(int seconds) {
}
// static
-void UrlInfo::GetHtmlTable(const UrlInfoTable host_infos,
- const char* description,
- const bool brief,
- std::string* output) {
+void UrlInfo::GetHtmlTable(const UrlInfoTable& host_infos,
+ const char* description,
+ bool brief,
+ std::string* output) {
if (0 == host_infos.size())
return;
output->append(description);
diff --git a/chrome/browser/net/url_info.h b/chrome/browser/net/url_info.h
index 378edbf..e6dc70a 100644
--- a/chrome/browser/net/url_info.h
+++ b/chrome/browser/net/url_info.h
@@ -123,9 +123,9 @@ class UrlInfo {
void DLogResultsStats(const char* message) const;
- static void GetHtmlTable(const UrlInfoTable host_infos,
+ static void GetHtmlTable(const UrlInfoTable& host_infos,
const char* description,
- const bool brief,
+ bool brief,
std::string* output);
// For testing, and use in printing tables of info, we sometimes need to