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

Side by Side Diff: chrome/browser/download/download_service_impl.cc

Issue 1347043002: Move ChromeNetLog to //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "chrome/browser/download/download_service_impl.h" 5 #include "chrome/browser/download/download_service_impl.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/download/chrome_download_manager_delegate.h" 9 #include "chrome/browser/download/chrome_download_manager_delegate.h"
10 #include "chrome/browser/download/download_history.h" 10 #include "chrome/browser/download/download_history.h"
11 #include "chrome/browser/download/download_status_updater.h" 11 #include "chrome/browser/download/download_status_updater.h"
12 #include "chrome/browser/download/download_ui_controller.h" 12 #include "chrome/browser/download/download_ui_controller.h"
13 #include "chrome/browser/history/history_service_factory.h" 13 #include "chrome/browser/history/history_service_factory.h"
14 #include "chrome/browser/net/chrome_net_log.h"
15 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
16 #include "components/history/core/browser/history_service.h" 15 #include "components/history/core/browser/history_service.h"
17 #include "content/public/browser/download_manager.h" 16 #include "content/public/browser/download_manager.h"
18 17
19 #if defined(ENABLE_EXTENSIONS) 18 #if defined(ENABLE_EXTENSIONS)
20 #include "chrome/browser/extensions/api/downloads/downloads_api.h" 19 #include "chrome/browser/extensions/api/downloads/downloads_api.h"
21 #endif 20 #endif
22 21
23 using content::BrowserContext; 22 using content::BrowserContext;
24 using content::DownloadManager; 23 using content::DownloadManager;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // code) when the DownloadManager is shutting down. So we shut it down 142 // code) when the DownloadManager is shutting down. So we shut it down
144 // manually earlier. See http://crbug.com/131692 143 // manually earlier. See http://crbug.com/131692
145 BrowserContext::GetDownloadManager(profile_)->Shutdown(); 144 BrowserContext::GetDownloadManager(profile_)->Shutdown();
146 } 145 }
147 #if defined(ENABLE_EXTENSIONS) 146 #if defined(ENABLE_EXTENSIONS)
148 extension_event_router_.reset(); 147 extension_event_router_.reset();
149 #endif 148 #endif
150 manager_delegate_.reset(); 149 manager_delegate_.reset();
151 download_history_.reset(); 150 download_history_.reset();
152 } 151 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/extensions/api/dial/dial_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698