Fix link in German terms of service.
[chromium-blink-merge.git] / content / shell / browser / layout_test / layout_test_download_manager_delegate.h
blobeccc9f1ef0ce462d532e2405b141ca48928a1cca
1 // Copyright 2014 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.
5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DOWNLOAD_MANAGER_DELEGATE_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DOWNLOAD_MANAGER_DELEGATE_H_
8 #include "base/callback_forward.h"
9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h"
11 #include "content/public/browser/download_manager_delegate.h"
12 #include "content/shell/browser/shell_download_manager_delegate.h"
14 namespace content {
16 class DownloadItem;
18 class LayoutTestDownloadManagerDelegate : public ShellDownloadManagerDelegate {
19 public:
20 LayoutTestDownloadManagerDelegate();
21 ~LayoutTestDownloadManagerDelegate() override;
23 // ShellDownloadManagerDelegate implementation.
24 bool ShouldOpenDownload(DownloadItem* item,
25 const DownloadOpenDelayedCallback& callback) override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(LayoutTestDownloadManagerDelegate);
31 } // namespace content
33 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DOWNLOAD_MANAGER_DELEGATE_H_