Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: content/shell/browser/layout_test/layout_test_download_manager_delegate.h

Issue 648673002: Content Shell: Introduce LayoutTestDownloadManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@637843003
Patch Set: Ugh. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
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_
7
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"
13
14 namespace content {
15
16 class DownloadItem;
17
18 class LayoutTestDownloadManagerDelegate : public ShellDownloadManagerDelegate {
19 public:
20 LayoutTestDownloadManagerDelegate();
21 virtual ~LayoutTestDownloadManagerDelegate();
22
23 // ShellDownloadManagerDelegate implementation.
24 virtual bool ShouldOpenDownload(
25 DownloadItem* item,
26 const DownloadOpenDelayedCallback& callback) override;
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(LayoutTestDownloadManagerDelegate);
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DOWNLOAD_MANAGER_DELEGA TE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698