1// Copyright (c) 2011 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ 6#define CHROME_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ 7#pragma once 8 9#include "chrome/browser/download/download_manager.h" 10 11class DownloadStatusUpdater; 12class DownloadItem; 13 14class MockDownloadManager : public DownloadManager { 15 public: 16 explicit MockDownloadManager(DownloadStatusUpdater* updater) 17 : DownloadManager(updater) { 18 } 19 20 // Override some functions. 21 virtual void UpdateHistoryForDownload(DownloadItem*) { } 22}; 23 24#endif // CHROME_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ 25