| Index: content/common/net/url_fetcher_impl.cc
|
| diff --git a/content/common/net/url_fetcher_impl.cc b/content/common/net/url_fetcher_impl.cc
|
| index a7d2f5264e8c90d9066758896e871babceff8d07..60205fe6a4340fe0e56dd5b9082fa2c7abcc5983 100644
|
| --- a/content/common/net/url_fetcher_impl.cc
|
| +++ b/content/common/net/url_fetcher_impl.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/message_loop_proxy.h"
|
| +#include "base/metrics/histogram.h"
|
| #include "base/platform_file.h"
|
| #include "base/stl_util.h"
|
| #include "base/string_util.h"
|
| @@ -1066,6 +1067,9 @@ bool URLFetcherImpl::GetResponseAsString(
|
| return false;
|
|
|
| *out_response_string = core_->data_;
|
| + UMA_HISTOGRAM_MEMORY_KB("UrlFetcher.StringResponseSize",
|
| + (core_->data_.length() / 1024));
|
| +
|
| return true;
|
| }
|
|
|
|
|