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

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

Issue 6356015: DevTools: enable remote debugging with front-end served from the cloud. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lint Created 9 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/chrome.gyp ('k') | no next file » | 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) 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_TESTING_BROWSER_PROCESS_H_ 10 #ifndef CHROME_TEST_TESTING_BROWSER_PROCESS_H_
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 143
144 virtual IntranetRedirectDetector* intranet_redirect_detector() { 144 virtual IntranetRedirectDetector* intranet_redirect_detector() {
145 return NULL; 145 return NULL;
146 } 146 }
147 147
148 virtual AutomationProviderList* InitAutomationProviderList() { 148 virtual AutomationProviderList* InitAutomationProviderList() {
149 return NULL; 149 return NULL;
150 } 150 }
151 151
152 virtual void InitDebuggerWrapper(int port, bool useHttp) { 152 virtual void InitDevToolsHttpProtocolHandler(
153 int port,
154 const std::string& frontend_url) {
155 }
156
157 virtual void InitDevToolsLegacyProtocolHandler(int port) {
153 } 158 }
154 159
155 virtual unsigned int AddRefModule() { 160 virtual unsigned int AddRefModule() {
156 return ++module_ref_count_; 161 return ++module_ref_count_;
157 } 162 }
158 virtual unsigned int ReleaseModule() { 163 virtual unsigned int ReleaseModule() {
159 DCHECK(module_ref_count_ > 0); 164 DCHECK(module_ref_count_ > 0);
160 return --module_ref_count_; 165 return --module_ref_count_;
161 } 166 }
162 167
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 PrefService* pref_service_; 221 PrefService* pref_service_;
217 bool created_configuration_policy_provider_keeper_; 222 bool created_configuration_policy_provider_keeper_;
218 scoped_ptr<policy::ConfigurationPolicyProviderKeeper> 223 scoped_ptr<policy::ConfigurationPolicyProviderKeeper>
219 configuration_policy_provider_keeper_; 224 configuration_policy_provider_keeper_;
220 scoped_ptr<GoogleURLTracker> google_url_tracker_; 225 scoped_ptr<GoogleURLTracker> google_url_tracker_;
221 226
222 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); 227 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
223 }; 228 };
224 229
225 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 230 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698