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

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

Issue 12662033: Show user data dialog earlier on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromium style warning: inline virtual method with non-empty bodies. Created 7 years, 9 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_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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 virtual ChromeNetLog* net_log() OVERRIDE; 105 virtual ChromeNetLog* net_log() OVERRIDE;
106 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 106 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
107 virtual ComponentUpdateService* component_updater() OVERRIDE; 107 virtual ComponentUpdateService* component_updater() OVERRIDE;
108 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 108 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
109 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; 109 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE;
110 virtual chrome::MediaFileSystemRegistry* 110 virtual chrome::MediaFileSystemRegistry*
111 media_file_system_registry() OVERRIDE; 111 media_file_system_registry() OVERRIDE;
112 virtual void PlatformSpecificCommandLineProcessing( 112 virtual void PlatformSpecificCommandLineProcessing(
113 const CommandLine& command_line) OVERRIDE; 113 const CommandLine& command_line) OVERRIDE;
114 virtual bool created_local_state() const OVERRIDE;
114 115
115 // Set the local state for tests. Consumer is responsible for cleaning it up 116 // Set the local state for tests. Consumer is responsible for cleaning it up
116 // afterwards (using ScopedTestingLocalState, for example). 117 // afterwards (using ScopedTestingLocalState, for example).
117 void SetLocalState(PrefService* local_state); 118 void SetLocalState(PrefService* local_state);
118 void SetProfileManager(ProfileManager* profile_manager); 119 void SetProfileManager(ProfileManager* profile_manager);
119 void SetIOThread(IOThread* io_thread); 120 void SetIOThread(IOThread* io_thread);
120 void SetBrowserPolicyConnector(policy::BrowserPolicyConnector* connector); 121 void SetBrowserPolicyConnector(policy::BrowserPolicyConnector* connector);
121 void SetSafeBrowsingService(SafeBrowsingService* sb_service); 122 void SetSafeBrowsingService(SafeBrowsingService* sb_service);
122 void SetBookmarkPromptController(BookmarkPromptController* controller); 123 void SetBookmarkPromptController(BookmarkPromptController* controller);
123 void SetSystemRequestContext(net::URLRequestContextGetter* context_getter); 124 void SetSystemRequestContext(net::URLRequestContextGetter* context_getter);
(...skipping 24 matching lines...) Expand all
148 149
149 // The following objects are not owned by TestingBrowserProcess: 150 // The following objects are not owned by TestingBrowserProcess:
150 PrefService* local_state_; 151 PrefService* local_state_;
151 IOThread* io_thread_; 152 IOThread* io_thread_;
152 net::URLRequestContextGetter* system_request_context_; 153 net::URLRequestContextGetter* system_request_context_;
153 154
154 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); 155 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
155 }; 156 };
156 157
157 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 158 #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