blob: dc690a4a9ce2cea90ce4a0c6f6c114e948b047e7 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_NET_RECORD_LOAD_HISTOGRAMS_H_
#define CONTENT_COMMON_NET_RECORD_LOAD_HISTOGRAMS_H_
#include "content/public/common/resource_type.h"
class GURL;
namespace content {
// Logs histograms when a resource destined for a renderer (One with a
// content::ResourceType) finishes loading, or when a load is aborted. Not used
// for internal network requests initiated by the browser itself.
void RecordLoadHistograms(const GURL& url,
ResourceType resource_type,
int net_error);
} // namespace content
#endif // CONTENT_COMMON_NET_RECORD_LOAD_HISTOGRAMS_H_