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

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

Issue 6801008: Websocket to TCP proxy running in a separate thread (only on ChromeOS). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase+minor Created 9 years, 7 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_browser.gypi ('k') | chrome/test/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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual base::Thread* file_thread(); 56 virtual base::Thread* file_thread();
57 57
58 virtual base::Thread* db_thread(); 58 virtual base::Thread* db_thread();
59 59
60 virtual base::Thread* cache_thread(); 60 virtual base::Thread* cache_thread();
61 61
62 virtual base::Thread* gpu_thread(); 62 virtual base::Thread* gpu_thread();
63 63
64 virtual WatchDogThread* watchdog_thread(); 64 virtual WatchDogThread* watchdog_thread();
65 65
66 #if defined(OS_CHROMEOS)
67 virtual base::Thread* web_socket_proxy_thread();
68 #endif
69
66 virtual ProfileManager* profile_manager(); 70 virtual ProfileManager* profile_manager();
67 71
68 virtual PrefService* local_state(); 72 virtual PrefService* local_state();
69 73
70 virtual policy::BrowserPolicyConnector* browser_policy_connector(); 74 virtual policy::BrowserPolicyConnector* browser_policy_connector();
71 75
72 virtual IconManager* icon_manager(); 76 virtual IconManager* icon_manager();
73 77
74 virtual ThumbnailGenerator* GetThumbnailGenerator(); 78 virtual ThumbnailGenerator* GetThumbnailGenerator();
75 79
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 181
178 private: 182 private:
179 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. 183 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
180 // After the transition is over, we should just stack-allocate it. 184 // After the transition is over, we should just stack-allocate it.
181 scoped_ptr<TestingBrowserProcess> browser_process_; 185 scoped_ptr<TestingBrowserProcess> browser_process_;
182 186
183 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); 187 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess);
184 }; 188 };
185 189
186 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 190 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698