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

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

Issue 10823169: Another attempt at fixing dead frames being tracked by webNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 4 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) 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual ~TestingBrowserProcess(); 48 virtual ~TestingBrowserProcess();
49 49
50 virtual void ResourceDispatcherHostCreated() OVERRIDE; 50 virtual void ResourceDispatcherHostCreated() OVERRIDE;
51 virtual void EndSession() OVERRIDE; 51 virtual void EndSession() OVERRIDE;
52 virtual MetricsService* metrics_service() OVERRIDE; 52 virtual MetricsService* metrics_service() OVERRIDE;
53 virtual IOThread* io_thread() OVERRIDE; 53 virtual IOThread* io_thread() OVERRIDE;
54 virtual WatchDogThread* watchdog_thread() OVERRIDE; 54 virtual WatchDogThread* watchdog_thread() OVERRIDE;
55 virtual ProfileManager* profile_manager() OVERRIDE; 55 virtual ProfileManager* profile_manager() OVERRIDE;
56 virtual PrefService* local_state() OVERRIDE; 56 virtual PrefService* local_state() OVERRIDE;
57 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; 57 virtual chrome_variations::VariationsService* variations_service() OVERRIDE;
58 virtual ChromeResourceDispatcherHostDelegate*
59 resource_dispatcher_host_delegate() OVERRIDE;
58 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; 60 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
59 virtual policy::PolicyService* policy_service() OVERRIDE; 61 virtual policy::PolicyService* policy_service() OVERRIDE;
60 virtual IconManager* icon_manager() OVERRIDE; 62 virtual IconManager* icon_manager() OVERRIDE;
61 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE; 63 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE;
62 virtual BackgroundModeManager* background_mode_manager() OVERRIDE; 64 virtual BackgroundModeManager* background_mode_manager() OVERRIDE;
63 virtual StatusTray* status_tray() OVERRIDE; 65 virtual StatusTray* status_tray() OVERRIDE;
64 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; 66 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE;
65 virtual safe_browsing::ClientSideDetectionService* 67 virtual safe_browsing::ClientSideDetectionService*
66 safe_browsing_detection_service() OVERRIDE; 68 safe_browsing_detection_service() OVERRIDE;
67 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 69 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 scoped_refptr<printing::PrintPreviewTabController> 130 scoped_refptr<printing::PrintPreviewTabController>
129 print_preview_tab_controller_; 131 print_preview_tab_controller_;
130 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; 132 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
131 IOThread* io_thread_; 133 IOThread* io_thread_;
132 scoped_refptr<SafeBrowsingService> sb_service_; 134 scoped_refptr<SafeBrowsingService> sb_service_;
133 135
134 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); 136 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
135 }; 137 };
136 138
137 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 139 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698