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

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

Issue 6475011: Implemented policy to disable plugin finder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased on ToT. 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); 107 virtual printing::PrintPreviewTabController* print_preview_tab_controller();
108 108
109 virtual const std::string& GetApplicationLocale(); 109 virtual const std::string& GetApplicationLocale();
110 110
111 virtual void SetApplicationLocale(const std::string& app_locale); 111 virtual void SetApplicationLocale(const std::string& app_locale);
112 112
113 virtual DownloadStatusUpdater* download_status_updater(); 113 virtual DownloadStatusUpdater* download_status_updater();
114 114
115 virtual base::WaitableEvent* shutdown_event(); 115 virtual base::WaitableEvent* shutdown_event();
116 116
117 virtual bool disable_plugin_finder_pref() const;
118
117 virtual void CheckForInspectorFiles() {} 119 virtual void CheckForInspectorFiles() {}
118 120
119 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 121 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
120 virtual void StartAutoupdateTimer() {} 122 virtual void StartAutoupdateTimer() {}
121 #endif 123 #endif
122 124
123 virtual bool have_inspector_files() const; 125 virtual bool have_inspector_files() const;
124 126
125 virtual ChromeNetLog* net_log(); 127 virtual ChromeNetLog* net_log();
126 128
(...skipping 30 matching lines...) Expand all
157 159
158 private: 160 private:
159 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. 161 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
160 // After the transition is over, we should just stack-allocate it. 162 // After the transition is over, we should just stack-allocate it.
161 scoped_ptr<TestingBrowserProcess> browser_process_; 163 scoped_ptr<TestingBrowserProcess> browser_process_;
162 164
163 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); 165 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess);
164 }; 166 };
165 167
166 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 168 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698