blob: 8cd7b0ec5a25dc2774e149a5028259b0b817f4c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (c) 2011 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 <string>
#include "base/stringprintf.h"
#include "content/browser/download/download_id.h"
std::string DownloadId::DebugString() const {
return base::StringPrintf("%p:%d", domain_, local_id_);
}
std::ostream& operator<<(std::ostream& out, const DownloadId& global_id) {
return out << global_id.DebugString();
}
|