Index: content/public/browser/download_id.h |
diff --git a/content/public/browser/download_id.h b/content/public/browser/download_id.h |
index 96ecc63ce0bda3a22d245f4d5b2daaf9959a73ff..797c752ad3d6019c3d769bf82d05f51c4adedb8b 100644 |
--- a/content/public/browser/download_id.h |
+++ b/content/public/browser/download_id.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 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. |
@@ -20,11 +20,13 @@ namespace content { |
// sessions, but their local() field is. |
class DownloadId { |
public: |
- static DownloadId Invalid() { return DownloadId(NULL, -1); } |
+ static DownloadId Invalid() { return DownloadId(); } |
// Domain separates spaces of local ids. |
typedef const void* Domain; |
+ DownloadId() : domain_(NULL), local_id_(-1) {} |
+ |
DownloadId(Domain domain, int32 local_id) |
: domain_(domain), |
local_id_(local_id) { |