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

Side by Side Diff: chrome/browser/browser_process_impl_unittest.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 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/browser_process_impl.h" 5 #include "chrome/browser/browser_process_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/metrics/user_metrics.h" 11 #include "base/metrics/user_metrics.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "chrome/browser/profiles/profile_manager.h" 15 #include "chrome/browser/profiles/profile_manager.h"
16 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" 16 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
17 #include "chrome/test/base/testing_profile.h" 17 #include "chrome/test/base/testing_profile.h"
18 #include "content/public/test/test_browser_thread.h" 18 #include "content/public/test/test_browser_thread.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 20
21 class BrowserProcessImplTest : public ::testing::Test { 21 class BrowserProcessImplTest : public ::testing::Test {
22 protected: 22 protected:
23 BrowserProcessImplTest() 23 BrowserProcessImplTest()
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Pass ownership to the ProfileManager so that it manages the destruction. 95 // Pass ownership to the ProfileManager so that it manages the destruction.
96 browser_process_impl()->profile_manager()->RegisterTestingProfile( 96 browser_process_impl()->profile_manager()->RegisterTestingProfile(
97 profile.release(), false, false); 97 profile.release(), false, false);
98 98
99 // Tear down the BrowserProcessImpl and the threads. 99 // Tear down the BrowserProcessImpl and the threads.
100 browser_process_impl()->StartTearDown(); 100 browser_process_impl()->StartTearDown();
101 DestroySecondaryThreads(); 101 DestroySecondaryThreads();
102 browser_process_impl()->PostDestroyThreads(); 102 browser_process_impl()->PostDestroyThreads();
103 } 103 }
104 #endif // !defined(OS_ANDROID) && !defined(OS_CHROMEOS) 104 #endif // !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browsing_data/browsing_data_cache_storage_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698