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

Side by Side Diff: chrome/browser/download/download_test_file_activity_observer.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/download/download_test_file_activity_observer.h" 5 #include "chrome/browser/download/download_test_file_activity_observer.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "chrome/browser/download/chrome_download_manager_delegate.h" 13 #include "chrome/browser/download/chrome_download_manager_delegate.h"
14 #include "chrome/browser/download/download_service.h" 14 #include "chrome/browser/download/download_service.h"
15 #include "chrome/browser/download/download_service_factory.h" 15 #include "chrome/browser/download/download_service_factory.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 17
18 namespace content { 18 namespace content {
19 class DownloadItem; 19 class DownloadItem;
20 } 20 }
21 21
22 // Test ChromeDownloadManagerDelegate that controls whether how file chooser 22 // Test ChromeDownloadManagerDelegate that controls whether how file chooser
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 void DownloadTestFileActivityObserver::EnableFileChooser(bool enable) { 86 void DownloadTestFileActivityObserver::EnableFileChooser(bool enable) {
87 if (test_delegate_.get()) 87 if (test_delegate_.get())
88 test_delegate_->EnableFileChooser(enable); 88 test_delegate_->EnableFileChooser(enable);
89 } 89 }
90 90
91 bool DownloadTestFileActivityObserver::TestAndResetDidShowFileChooser() { 91 bool DownloadTestFileActivityObserver::TestAndResetDidShowFileChooser() {
92 return test_delegate_.get() && 92 return test_delegate_.get() &&
93 test_delegate_->TestAndResetDidShowFileChooser(); 93 test_delegate_->TestAndResetDidShowFileChooser();
94 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698