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

Side by Side Diff: chrome/browser/chromeos/drive/download_handler.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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 (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 #include "chrome/browser/chromeos/drive/download_handler.h" 5 #include "chrome/browser/chromeos/drive/download_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/supports_user_data.h" 13 #include "base/supports_user_data.h"
14 #include "base/thread_task_runner_handle.h"
15 #include "base/threading/sequenced_worker_pool.h" 14 #include "base/threading/sequenced_worker_pool.h"
15 #include "base/threading/thread_task_runner_handle.h"
16 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 16 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
17 #include "chrome/browser/chromeos/drive/file_system_util.h" 17 #include "chrome/browser/chromeos/drive/file_system_util.h"
18 #include "chrome/browser/chromeos/drive/write_on_cache_file.h" 18 #include "chrome/browser/chromeos/drive/write_on_cache_file.h"
19 #include "chrome/browser/download/download_history.h" 19 #include "chrome/browser/download/download_history.h"
20 #include "chrome/browser/download/download_service.h" 20 #include "chrome/browser/download/download_service.h"
21 #include "chrome/browser/download/download_service_factory.h" 21 #include "chrome/browser/download/download_service_factory.h"
22 #include "components/drive/chromeos/file_system_interface.h" 22 #include "components/drive/chromeos/file_system_interface.h"
23 #include "components/drive/drive.pb.h" 23 #include "components/drive/drive.pb.h"
24 #include "content/public/browser/browser_thread.h" 24 #include "content/public/browser/browser_thread.h"
25 25
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 423
424 DownloadManager* DownloadHandler::GetDownloadManager(void* manager_id) { 424 DownloadManager* DownloadHandler::GetDownloadManager(void* manager_id) {
425 if (manager_id == notifier_->GetManager()) 425 if (manager_id == notifier_->GetManager())
426 return notifier_->GetManager(); 426 return notifier_->GetManager();
427 if (notifier_incognito_ && manager_id == notifier_incognito_->GetManager()) 427 if (notifier_incognito_ && manager_id == notifier_incognito_->GetManager())
428 return notifier_incognito_->GetManager(); 428 return notifier_incognito_->GetManager();
429 return NULL; 429 return NULL;
430 } 430 }
431 431
432 } // namespace drive 432 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698