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

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

Issue 154083008: Remove Tabpose feature on mac, and supporting infrastructure (PaintAtSize) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, merge Created 6 years, 10 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
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual IOThread* io_thread() OVERRIDE; 60 virtual IOThread* io_thread() OVERRIDE;
61 virtual WatchDogThread* watchdog_thread() OVERRIDE; 61 virtual WatchDogThread* watchdog_thread() OVERRIDE;
62 virtual ProfileManager* profile_manager() OVERRIDE; 62 virtual ProfileManager* profile_manager() OVERRIDE;
63 virtual PrefService* local_state() OVERRIDE; 63 virtual PrefService* local_state() OVERRIDE;
64 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; 64 virtual chrome_variations::VariationsService* variations_service() OVERRIDE;
65 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; 65 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
66 virtual policy::PolicyService* policy_service() OVERRIDE; 66 virtual policy::PolicyService* policy_service() OVERRIDE;
67 virtual IconManager* icon_manager() OVERRIDE; 67 virtual IconManager* icon_manager() OVERRIDE;
68 virtual GLStringManager* gl_string_manager() OVERRIDE; 68 virtual GLStringManager* gl_string_manager() OVERRIDE;
69 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; 69 virtual GpuModeManager* gpu_mode_manager() OVERRIDE;
70 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE;
71 virtual BackgroundModeManager* background_mode_manager() OVERRIDE; 70 virtual BackgroundModeManager* background_mode_manager() OVERRIDE;
72 virtual void set_background_mode_manager_for_test( 71 virtual void set_background_mode_manager_for_test(
73 scoped_ptr<BackgroundModeManager> manager) OVERRIDE; 72 scoped_ptr<BackgroundModeManager> manager) OVERRIDE;
74 virtual StatusTray* status_tray() OVERRIDE; 73 virtual StatusTray* status_tray() OVERRIDE;
75 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; 74 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE;
76 virtual safe_browsing::ClientSideDetectionService* 75 virtual safe_browsing::ClientSideDetectionService*
77 safe_browsing_detection_service() OVERRIDE; 76 safe_browsing_detection_service() OVERRIDE;
78 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 77 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE;
79 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; 78 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE;
80 79
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 scoped_ptr<NotificationUIManager> notification_ui_manager_; 152 scoped_ptr<NotificationUIManager> notification_ui_manager_;
154 153
155 #if defined(ENABLE_FULL_PRINTING) 154 #if defined(ENABLE_FULL_PRINTING)
156 scoped_ptr<printing::PrintJobManager> print_job_manager_; 155 scoped_ptr<printing::PrintJobManager> print_job_manager_;
157 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; 156 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_;
158 scoped_refptr<printing::PrintPreviewDialogController> 157 scoped_refptr<printing::PrintPreviewDialogController>
159 print_preview_dialog_controller_; 158 print_preview_dialog_controller_;
160 #endif 159 #endif
161 160
162 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; 161 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
163 scoped_ptr<RenderWidgetSnapshotTaker> render_widget_snapshot_taker_;
164 scoped_refptr<SafeBrowsingService> sb_service_; 162 scoped_refptr<SafeBrowsingService> sb_service_;
165 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; 163 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_;
166 #endif // !defined(OS_IOS) 164 #endif // !defined(OS_IOS)
167 165
168 #if !defined(OS_IOS) && !defined(OS_ANDROID) 166 #if !defined(OS_IOS) && !defined(OS_ANDROID)
169 scoped_ptr<StorageMonitor> storage_monitor_; 167 scoped_ptr<StorageMonitor> storage_monitor_;
170 scoped_ptr<MediaFileSystemRegistry> media_file_system_registry_; 168 scoped_ptr<MediaFileSystemRegistry> media_file_system_registry_;
171 #endif 169 #endif
172 170
173 // The following objects are not owned by TestingBrowserProcess: 171 // The following objects are not owned by TestingBrowserProcess:
(...skipping 25 matching lines...) Expand all
199 class TestingBrowserProcessInitializer { 197 class TestingBrowserProcessInitializer {
200 public: 198 public:
201 TestingBrowserProcessInitializer(); 199 TestingBrowserProcessInitializer();
202 ~TestingBrowserProcessInitializer(); 200 ~TestingBrowserProcessInitializer();
203 201
204 private: 202 private:
205 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); 203 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer);
206 }; 204 };
207 205
208 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 206 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698