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

Side by Side Diff: chrome/test/base/testing_browser_process.h

Issue 8366020: Create a secondary file thread, FILE_USER_BLOCKING... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // An implementation of BrowserProcess for unit tests that fails for most 5 // An implementation of BrowserProcess for unit tests that fails for most
6 // services. By preventing creation of services, we reduce dependencies and 6 // services. By preventing creation of services, we reduce dependencies and
7 // keep the profile clean. Clients of this class must handle the NULL return 7 // keep the profile clean. Clients of this class must handle the NULL return
8 // value, however. 8 // value, however.
9 9
10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual ~TestingBrowserProcess(); 49 virtual ~TestingBrowserProcess();
50 50
51 virtual void EndSession() OVERRIDE; 51 virtual void EndSession() OVERRIDE;
52 virtual ResourceDispatcherHost* resource_dispatcher_host() OVERRIDE; 52 virtual ResourceDispatcherHost* resource_dispatcher_host() OVERRIDE;
53 virtual MetricsService* metrics_service() OVERRIDE; 53 virtual MetricsService* metrics_service() OVERRIDE;
54 virtual IOThread* io_thread() OVERRIDE; 54 virtual IOThread* io_thread() OVERRIDE;
55 55
56 virtual base::Thread* file_thread() OVERRIDE; 56 virtual base::Thread* file_thread() OVERRIDE;
57 virtual base::Thread* db_thread() OVERRIDE; 57 virtual base::Thread* db_thread() OVERRIDE;
58 virtual base::Thread* cache_thread() OVERRIDE; 58 virtual base::Thread* cache_thread() OVERRIDE;
59 virtual base::Thread* appcache_thread() OVERRIDE;
59 virtual WatchDogThread* watchdog_thread() OVERRIDE; 60 virtual WatchDogThread* watchdog_thread() OVERRIDE;
60 61
61 #if defined(OS_CHROMEOS) 62 #if defined(OS_CHROMEOS)
62 virtual base::Thread* web_socket_proxy_thread() OVERRIDE; 63 virtual base::Thread* web_socket_proxy_thread() OVERRIDE;
63 #endif 64 #endif
64 65
65 virtual ProfileManager* profile_manager() OVERRIDE; 66 virtual ProfileManager* profile_manager() OVERRIDE;
66 virtual PrefService* local_state() OVERRIDE; 67 virtual PrefService* local_state() OVERRIDE;
67 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; 68 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
68 virtual IconManager* icon_manager() OVERRIDE; 69 virtual IconManager* icon_manager() OVERRIDE;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 scoped_ptr<NotificationUIManager> notification_ui_manager_; 148 scoped_ptr<NotificationUIManager> notification_ui_manager_;
148 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; 149 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_;
149 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; 150 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
150 IOThread* io_thread_; 151 IOThread* io_thread_;
151 scoped_ptr<DevToolsManager> devtools_manager_; 152 scoped_ptr<DevToolsManager> devtools_manager_;
152 153
153 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); 154 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
154 }; 155 };
155 156
156 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 157 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698