blob: 2d9ce0cb5dfb63f81af4f6b43c868d72dfd458b6 [file] [log] [blame]
// Copyright 2017 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.
#include <algorithm>
#include "base/guid.h"
#include "components/download/internal/test/download_params_utils.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
namespace download {
namespace test {
DownloadParams BuildBasicDownloadParams() {
DownloadParams params;
params.client = DownloadClient::TEST;
params.guid = base::GenerateGUID();
params.traffic_annotation =
net::MutableNetworkTrafficAnnotationTag(TRAFFIC_ANNOTATION_FOR_TESTS);
return params;
}
} // namespace test
} // namespace download