chromium/services/network/upload_progress_tracker.cc

// 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.

#include "services/network/upload_progress_tracker.h"

#include "base/check.h"
#include "base/task/sequenced_task_runner.h"
#include "net/base/upload_progress.h"
#include "net/url_request/url_request.h"

namespace network {
namespace {
// The interval for calls to ReportUploadProgress.
constexpr base::TimeDelta kUploadProgressInterval =;
}  // namespace

UploadProgressTracker::UploadProgressTracker(
    const base::Location& location,
    UploadProgressReportCallback report_progress,
    net::URLRequest* request,
    scoped_refptr<base::SequencedTaskRunner> task_runner)
    :{}

UploadProgressTracker::~UploadProgressTracker() {}

void UploadProgressTracker::OnAckReceived() {}

void UploadProgressTracker::OnUploadCompleted() {}

// static
base::TimeDelta UploadProgressTracker::GetUploadProgressIntervalForTesting() {}

base::TimeTicks UploadProgressTracker::GetCurrentTime() const {}

net::UploadProgress UploadProgressTracker::GetUploadProgress() const {}

void UploadProgressTracker::ReportUploadProgressIfNeeded() {}

}  // namespace network