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

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: Merged ToT and addressed comments. 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/plugin/plugin_thread.cc ('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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); 104 virtual printing::PrintPreviewTabController* print_preview_tab_controller();
105 105
106 virtual const std::string& GetApplicationLocale(); 106 virtual const std::string& GetApplicationLocale();
107 107
108 virtual void SetApplicationLocale(const std::string& app_locale); 108 virtual void SetApplicationLocale(const std::string& app_locale);
109 109
110 virtual DownloadStatusUpdater* download_status_updater(); 110 virtual DownloadStatusUpdater* download_status_updater();
111 111
112 virtual base::WaitableEvent* shutdown_event(); 112 virtual base::WaitableEvent* shutdown_event();
113 113
114 virtual bool plugin_finder_disabled() const;
115
114 virtual void CheckForInspectorFiles() {} 116 virtual void CheckForInspectorFiles() {}
115 117
116 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 118 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
117 virtual void StartAutoupdateTimer() {} 119 virtual void StartAutoupdateTimer() {}
118 #endif 120 #endif
119 121
120 virtual bool have_inspector_files() const; 122 virtual bool have_inspector_files() const;
121 123
122 virtual ChromeNetLog* net_log(); 124 virtual ChromeNetLog* net_log();
123 125
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 158
157 private: 159 private:
158 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. 160 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
159 // After the transition is over, we should just stack-allocate it. 161 // After the transition is over, we should just stack-allocate it.
160 scoped_ptr<TestingBrowserProcess> browser_process_; 162 scoped_ptr<TestingBrowserProcess> browser_process_;
161 163
162 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); 164 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess);
163 }; 165 };
164 166
165 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 167 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/plugin/plugin_thread.cc ('k') | chrome/test/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698