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

Side by Side Diff: content/browser/download/download_manager.h

Issue 8503018: Split DownloadItem into an ABC, an Impl, and a Mock. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: " Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // The DownloadManager object manages the process of downloading, including 5 // The DownloadManager object manages the process of downloading, including
6 // updates to the history system and providing the information for displaying 6 // updates to the history system and providing the information for displaying
7 // the downloads view in the Destinations tab. There is one DownloadManager per 7 // the downloads view in the Destinations tab. There is one DownloadManager per
8 // active browser context in Chrome. 8 // active browser context in Chrome.
9 // 9 //
10 // Download observers: 10 // Download observers:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/browser/download/download_id.h" 47 #include "content/browser/download/download_id.h"
48 #include "content/browser/download/download_item.h" 48 #include "content/browser/download/download_item.h"
49 #include "content/browser/download/download_status_updater_delegate.h" 49 #include "content/browser/download/download_status_updater_delegate.h"
50 #include "content/browser/download/interrupt_reasons.h" 50 #include "content/browser/download/interrupt_reasons.h"
51 #include "content/common/content_export.h" 51 #include "content/common/content_export.h"
52 #include "content/public/browser/browser_thread.h" 52 #include "content/public/browser/browser_thread.h"
53 #include "net/base/net_errors.h" 53 #include "net/base/net_errors.h"
54 54
55 class DownloadFileManager; 55 class DownloadFileManager;
56 class DownloadIdFactory; 56 class DownloadIdFactory;
57 class DownloadPersistentStoreInfo;
57 class DownloadRequestHandle; 58 class DownloadRequestHandle;
58 class DownloadStatusUpdater; 59 class DownloadStatusUpdater;
59 class GURL; 60 class GURL;
60 class ResourceDispatcherHost; 61 class ResourceDispatcherHost;
61 class TabContents; 62 class TabContents;
62 struct DownloadCreateInfo; 63 struct DownloadCreateInfo;
63 struct DownloadSaveInfo; 64 struct DownloadSaveInfo;
64 65
65 namespace content { 66 namespace content {
66 class BrowserContext; 67 class BrowserContext;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 DownloadIdFactory* id_factory_; 418 DownloadIdFactory* id_factory_;
418 419
419 // TODO(rdsmith): Remove when http://crbug.com/85408 is fixed. 420 // TODO(rdsmith): Remove when http://crbug.com/85408 is fixed.
420 // For debugging only. 421 // For debugging only.
421 int64 largest_db_handle_in_history_; 422 int64 largest_db_handle_in_history_;
422 423
423 DISALLOW_COPY_AND_ASSIGN(DownloadManager); 424 DISALLOW_COPY_AND_ASSIGN(DownloadManager);
424 }; 425 };
425 426
426 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ 427 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698