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

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

Issue 1152613003: Implement sidebar support for extension action popups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 (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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 chrome_variations::VariationsService* variations_service() override; 66 chrome_variations::VariationsService* variations_service() override;
67 PromoResourceService* promo_resource_service() override; 67 PromoResourceService* promo_resource_service() override;
68 policy::BrowserPolicyConnector* browser_policy_connector() override; 68 policy::BrowserPolicyConnector* browser_policy_connector() override;
69 policy::PolicyService* policy_service() override; 69 policy::PolicyService* policy_service() override;
70 IconManager* icon_manager() override; 70 IconManager* icon_manager() override;
71 GLStringManager* gl_string_manager() override; 71 GLStringManager* gl_string_manager() override;
72 GpuModeManager* gpu_mode_manager() override; 72 GpuModeManager* gpu_mode_manager() override;
73 BackgroundModeManager* background_mode_manager() override; 73 BackgroundModeManager* background_mode_manager() override;
74 void set_background_mode_manager_for_test( 74 void set_background_mode_manager_for_test(
75 scoped_ptr<BackgroundModeManager> manager) override; 75 scoped_ptr<BackgroundModeManager> manager) override;
76 SidebarManager* sidebar_manager() override;
76 StatusTray* status_tray() override; 77 StatusTray* status_tray() override;
77 SafeBrowsingService* safe_browsing_service() override; 78 SafeBrowsingService* safe_browsing_service() override;
78 safe_browsing::ClientSideDetectionService* safe_browsing_detection_service() 79 safe_browsing::ClientSideDetectionService* safe_browsing_detection_service()
79 override; 80 override;
80 net::URLRequestContextGetter* system_request_context() override; 81 net::URLRequestContextGetter* system_request_context() override;
81 BrowserProcessPlatformPart* platform_part() override; 82 BrowserProcessPlatformPart* platform_part() override;
82 83
83 extensions::EventRouterForwarder* extension_event_router_forwarder() override; 84 extensions::EventRouterForwarder* extension_event_router_forwarder() override;
84 NotificationUIManager* notification_ui_manager() override; 85 NotificationUIManager* notification_ui_manager() override;
85 message_center::MessageCenter* message_center() override; 86 message_center::MessageCenter* message_center() override;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 class TestingBrowserProcessInitializer { 199 class TestingBrowserProcessInitializer {
199 public: 200 public:
200 TestingBrowserProcessInitializer(); 201 TestingBrowserProcessInitializer();
201 ~TestingBrowserProcessInitializer(); 202 ~TestingBrowserProcessInitializer();
202 203
203 private: 204 private:
204 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); 205 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer);
205 }; 206 };
206 207
207 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 208 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698