summaryrefslogtreecommitdiffstats
path: root/content/browser/download/download_id_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/download/download_id_factory.cc')
-rw-r--r--content/browser/download/download_id_factory.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/content/browser/download/download_id_factory.cc b/content/browser/download/download_id_factory.cc
deleted file mode 100644
index 6b0797f..0000000
--- a/content/browser/download/download_id_factory.cc
+++ /dev/null
@@ -1,17 +0,0 @@
-// 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 "content/browser/download/download_id_factory.h"
-
-#include "content/browser/download/download_id.h"
-
-DownloadIdFactory::DownloadIdFactory(DownloadId::Domain domain)
- : domain_(domain),
- next_id_(0) {
-}
-
-DownloadId DownloadIdFactory::GetNextId() {
- base::AutoLock lock(lock_);
- return DownloadId(domain_, next_id_++);
-}