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

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

Issue 10696208: Move ExtensionEventRouter and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed bug + latest master Created 8 years, 5 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
« no previous file with comments | « chrome/chrome_tests.gypi ('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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; 64 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE;
65 virtual safe_browsing::ClientSideDetectionService* 65 virtual safe_browsing::ClientSideDetectionService*
66 safe_browsing_detection_service() OVERRIDE; 66 safe_browsing_detection_service() OVERRIDE;
67 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 67 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE;
68 68
69 #if defined(OS_CHROMEOS) 69 #if defined(OS_CHROMEOS)
70 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; 70 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE;
71 #endif // defined(OS_CHROMEOS) 71 #endif // defined(OS_CHROMEOS)
72 72
73 virtual ui::Clipboard* clipboard() OVERRIDE; 73 virtual ui::Clipboard* clipboard() OVERRIDE;
74 virtual ExtensionEventRouterForwarder* 74 virtual extensions::EventRouterForwarder*
75 extension_event_router_forwarder() OVERRIDE; 75 extension_event_router_forwarder() OVERRIDE;
76 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; 76 virtual NotificationUIManager* notification_ui_manager() OVERRIDE;
77 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE; 77 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE;
78 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; 78 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE;
79 virtual void InitDevToolsHttpProtocolHandler( 79 virtual void InitDevToolsHttpProtocolHandler(
80 Profile* profile, 80 Profile* profile,
81 const std::string& ip, 81 const std::string& ip,
82 int port, 82 int port,
83 const std::string& frontend_url) OVERRIDE; 83 const std::string& frontend_url) OVERRIDE;
84 virtual unsigned int AddRefModule() OVERRIDE; 84 virtual unsigned int AddRefModule() OVERRIDE;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 scoped_refptr<printing::PrintPreviewTabController> 128 scoped_refptr<printing::PrintPreviewTabController>
129 print_preview_tab_controller_; 129 print_preview_tab_controller_;
130 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; 130 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
131 IOThread* io_thread_; 131 IOThread* io_thread_;
132 scoped_refptr<SafeBrowsingService> sb_service_; 132 scoped_refptr<SafeBrowsingService> sb_service_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); 134 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
135 }; 135 };
136 136
137 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 137 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698