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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/download_metadata_manager_unittest.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/safe_browsing/incident_reporting/download_metadata_mana ger.h" 5 #include "chrome/browser/safe_browsing/incident_reporting/download_metadata_mana ger.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/sequenced_task_runner.h"
17 #include "base/threading/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
18 #include "chrome/test/base/testing_profile.h" 19 #include "chrome/test/base/testing_profile.h"
19 #include "components/safe_browsing/csd.pb.h" 20 #include "components/safe_browsing/csd.pb.h"
20 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
21 #include "content/public/browser/download_manager.h" 22 #include "content/public/browser/download_manager.h"
22 #include "content/public/test/mock_download_item.h" 23 #include "content/public/test/mock_download_item.h"
23 #include "content/public/test/mock_download_manager.h" 24 #include "content/public/test/mock_download_manager.h"
24 #include "content/public/test/test_browser_thread_bundle.h" 25 #include "content/public/test/test_browser_thread_bundle.h"
25 #include "testing/gmock/include/gmock/gmock.h" 26 #include "testing/gmock/include/gmock/gmock.h"
26 #include "testing/gtest/include/gtest/gtest.h" 27 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 // Allow everything to load into steady-state. 613 // Allow everything to load into steady-state.
613 RunAllTasks(); 614 RunAllTasks();
614 615
615 // Open the zero-id item. 616 // Open the zero-id item.
616 zero_item_->NotifyObserversDownloadOpened(); 617 zero_item_->NotifyObserversDownloadOpened();
617 618
618 ShutdownDownloadManager(); 619 ShutdownDownloadManager();
619 } 620 }
620 621
621 } // namespace safe_browsing 622 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698