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

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: 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/app/policy/policy_templates.json ('k') | chrome/browser/browser_process_impl.h » ('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 // 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 } 158 }
159 159
160 // Returns the object that watches for changes in the closeable state of tab. 160 // Returns the object that watches for changes in the closeable state of tab.
161 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0; 161 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0;
162 162
163 // Returns an object which handles communication with the SafeBrowsing 163 // Returns an object which handles communication with the SafeBrowsing
164 // client-side detection servers. 164 // client-side detection servers.
165 virtual safe_browsing::ClientSideDetectionService* 165 virtual safe_browsing::ClientSideDetectionService*
166 safe_browsing_detection_service() = 0; 166 safe_browsing_detection_service() = 0;
167 167
168 // Returns the state of the disable plugin finder policy. Callable only on
169 // the IO thread.
170 virtual bool plugin_finder_disabled() const = 0;
171
168 // Trigger an asynchronous check to see if we have the inspector's files on 172 // Trigger an asynchronous check to see if we have the inspector's files on
169 // disk. 173 // disk.
170 virtual void CheckForInspectorFiles() = 0; 174 virtual void CheckForInspectorFiles() = 0;
171 175
172 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 176 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
173 // This will start a timer that, if Chrome is in persistent mode, will check 177 // This will start a timer that, if Chrome is in persistent mode, will check
174 // whether an update is available, and if that's the case, restart the 178 // whether an update is available, and if that's the case, restart the
175 // browser. Note that restart code will strip some of the command line keys 179 // browser. Note that restart code will strip some of the command line keys
176 // and all loose values from the cl this instance of Chrome was launched with, 180 // and all loose values from the cl this instance of Chrome was launched with,
177 // and add the command line key that will force Chrome to start in the 181 // and add the command line key that will force Chrome to start in the
(...skipping 30 matching lines...) Expand all
208 212
209 // Used for testing plugin data removal at shutdown. 213 // Used for testing plugin data removal at shutdown.
210 std::string plugin_data_remover_mime_type_; 214 std::string plugin_data_remover_mime_type_;
211 215
212 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 216 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
213 }; 217 };
214 218
215 extern BrowserProcess* g_browser_process; 219 extern BrowserProcess* g_browser_process;
216 220
217 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 221 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698