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

Side by Side Diff: chrome/browser/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 // This interface is for managing the global services of the application. Each 5 // This interface is for managing the global services of the application. Each
6 // service is lazily created when requested the first time. The service getters 6 // service is lazily created when requested the first time. The service getters
7 // will return NULL if the service is not available, so callers must check for 7 // will return NULL if the service is not available, so callers must check for
8 // this condition. 8 // this condition.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 } 162 }
163 163
164 // Returns the object that watches for changes in the closeable state of tab. 164 // Returns the object that watches for changes in the closeable state of tab.
165 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0; 165 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0;
166 166
167 // Returns an object which handles communication with the SafeBrowsing 167 // Returns an object which handles communication with the SafeBrowsing
168 // client-side detection servers. 168 // client-side detection servers.
169 virtual safe_browsing::ClientSideDetectionService* 169 virtual safe_browsing::ClientSideDetectionService*
170 safe_browsing_detection_service() = 0; 170 safe_browsing_detection_service() = 0;
171 171
172 // Returns the state of the disable plugin finder policy. Callable only on
173 // the IO thread.
174 virtual bool disable_plugin_finder_pref() const = 0;
Bernhard Bauer 2011/02/24 10:37:07 Nit: accessors that start with a verb sound like t
pastarmovj 2011/02/24 16:02:20 Done.
175
172 // Trigger an asynchronous check to see if we have the inspector's files on 176 // Trigger an asynchronous check to see if we have the inspector's files on
173 // disk. 177 // disk.
174 virtual void CheckForInspectorFiles() = 0; 178 virtual void CheckForInspectorFiles() = 0;
175 179
176 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 180 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
177 // This will start a timer that, if Chrome is in persistent mode, will check 181 // This will start a timer that, if Chrome is in persistent mode, will check
178 // whether an update is available, and if that's the case, restart the 182 // whether an update is available, and if that's the case, restart the
179 // browser. Note that restart code will strip some of the command line keys 183 // browser. Note that restart code will strip some of the command line keys
180 // and all loose values from the cl this instance of Chrome was launched with, 184 // and all loose values from the cl this instance of Chrome was launched with,
181 // and add the command line key that will force Chrome to start in the 185 // and add the command line key that will force Chrome to start in the
(...skipping 30 matching lines...) Expand all
212 216
213 // Used for testing plugin data removal at shutdown. 217 // Used for testing plugin data removal at shutdown.
214 std::string plugin_data_remover_mime_type_; 218 std::string plugin_data_remover_mime_type_;
215 219
216 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 220 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
217 }; 221 };
218 222
219 extern BrowserProcess* g_browser_process; 223 extern BrowserProcess* g_browser_process;
220 224
221 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 225 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698