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

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

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 5
6 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 6 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
7 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 7 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
8 #pragma once 8 #pragma once
9 9
10 #include "content/public/browser/download_manager.h"
11
12 #include <map> 10 #include <map>
13 #include <set> 11 #include <set>
14 12
15 #include "base/hash_tables.h" 13 #include "base/hash_tables.h"
16 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
17 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
18 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
19 #include "base/message_loop_helpers.h" 17 #include "base/message_loop_helpers.h"
20 #include "base/observer_list.h" 18 #include "base/observer_list.h"
21 #include "base/synchronization/lock.h" 19 #include "base/synchronization/lock.h"
22 #include "content/browser/download/download_item_impl.h" 20 #include "content/browser/download/download_item_impl.h"
23 #include "content/browser/download/download_status_updater_delegate.h" 21 #include "content/browser/download/download_status_updater_delegate.h"
24 #include "content/common/content_export.h" 22 #include "content/common/content_export.h"
23 #include "content/public/browser/download_manager.h"
25 24
26 class DownloadIdFactory; 25 class DownloadIdFactory;
27 class DownloadStatusUpdater; 26 class DownloadStatusUpdater;
28 27
29 class CONTENT_EXPORT DownloadManagerImpl 28 class CONTENT_EXPORT DownloadManagerImpl
30 : public content::DownloadManager, 29 : public content::DownloadManager,
31 public DownloadItemImpl::Delegate, 30 public DownloadItemImpl::Delegate,
32 public DownloadStatusUpdaterDelegate { 31 public DownloadStatusUpdaterDelegate {
33 public: 32 public:
34 DownloadManagerImpl(content::DownloadManagerDelegate* delegate, 33 DownloadManagerImpl(content::DownloadManagerDelegate* delegate,
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 DownloadIdFactory* id_factory_; 266 DownloadIdFactory* id_factory_;
268 267
269 // TODO(rdsmith): Remove when http://crbug.com/85408 is fixed. 268 // TODO(rdsmith): Remove when http://crbug.com/85408 is fixed.
270 // For debugging only. 269 // For debugging only.
271 int64 largest_db_handle_in_history_; 270 int64 largest_db_handle_in_history_;
272 271
273 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); 272 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
274 }; 273 };
275 274
276 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 275 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698