chromium/services/network/upload_progress_tracker.h

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SERVICES_NETWORK_UPLOAD_PROGRESS_TRACKER_H_
#define SERVICES_NETWORK_UPLOAD_PROGRESS_TRACKER_H_

#include <stdint.h>

#include "base/component_export.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "net/base/upload_progress.h"

namespace base {
class Location;
}

namespace net {
class URLRequest;
}

namespace network {

// UploadProgressTracker watches the upload progress of a URL loading, and sends
// the progress to the client in a suitable granularity and frequency.
class COMPONENT_EXPORT(NETWORK_SERVICE) UploadProgressTracker {};

}  // namespace network

#endif  // SERVICES_NETWORK_UPLOAD_PROGRESS_TRACKER_H_