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

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

Issue 6992081: Make --allow-cross-domain-auth-prompt equivalent to a preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 virtual const std::string& GetApplicationLocale(); 126 virtual const std::string& GetApplicationLocale();
127 127
128 virtual void SetApplicationLocale(const std::string& app_locale); 128 virtual void SetApplicationLocale(const std::string& app_locale);
129 129
130 virtual DownloadStatusUpdater* download_status_updater(); 130 virtual DownloadStatusUpdater* download_status_updater();
131 131
132 virtual base::WaitableEvent* shutdown_event(); 132 virtual base::WaitableEvent* shutdown_event();
133 133
134 virtual bool plugin_finder_disabled() const; 134 virtual bool plugin_finder_disabled() const;
135 virtual bool allow_cross_origin_auth_prompt() const;
135 136
136 virtual void CheckForInspectorFiles() {} 137 virtual void CheckForInspectorFiles() {}
137 138
138 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 139 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
139 virtual void StartAutoupdateTimer() {} 140 virtual void StartAutoupdateTimer() {}
140 #endif 141 #endif
141 142
142 virtual ChromeNetLog* net_log(); 143 virtual ChromeNetLog* net_log();
143 144
144 #if defined(IPC_MESSAGE_LOG_ENABLED) 145 #if defined(IPC_MESSAGE_LOG_ENABLED)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 182
182 private: 183 private:
183 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. 184 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
184 // After the transition is over, we should just stack-allocate it. 185 // After the transition is over, we should just stack-allocate it.
185 scoped_ptr<TestingBrowserProcess> browser_process_; 186 scoped_ptr<TestingBrowserProcess> browser_process_;
186 187
187 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); 188 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess);
188 }; 189 };
189 190
190 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 191 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698