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

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 9566001: Hide MHTMLGenerationManager from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 virtual void Observe(int type, 113 virtual void Observe(int type,
114 const content::NotificationSource& source, 114 const content::NotificationSource& source,
115 const content::NotificationDetails& details) OVERRIDE; 115 const content::NotificationDetails& details) OVERRIDE;
116 116
117 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 117 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
118 virtual void StartAutoupdateTimer() OVERRIDE; 118 virtual void StartAutoupdateTimer() OVERRIDE;
119 #endif 119 #endif
120 120
121 virtual ChromeNetLog* net_log() OVERRIDE; 121 virtual ChromeNetLog* net_log() OVERRIDE;
122 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 122 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
123 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE;
124 virtual ComponentUpdateService* component_updater() OVERRIDE; 123 virtual ComponentUpdateService* component_updater() OVERRIDE;
125 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 124 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
126 125
127 private: 126 private:
128 void CreateMetricsService(); 127 void CreateMetricsService();
129 void CreateWatchdogThread(); 128 void CreateWatchdogThread();
130 #if defined(OS_CHROMEOS) 129 #if defined(OS_CHROMEOS)
131 void InitializeWebSocketProxyThread(); 130 void InitializeWebSocketProxyThread();
132 #endif 131 #endif
133 void CreateTemplateURLService(); 132 void CreateTemplateURLService();
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Lives here so can safely log events on shutdown. 231 // Lives here so can safely log events on shutdown.
233 scoped_ptr<ChromeNetLog> net_log_; 232 scoped_ptr<ChromeNetLog> net_log_;
234 233
235 // Ordered before resource_dispatcher_host_delegate_ due to destruction 234 // Ordered before resource_dispatcher_host_delegate_ due to destruction
236 // ordering. 235 // ordering.
237 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; 236 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
238 237
239 scoped_ptr<ChromeResourceDispatcherHostDelegate> 238 scoped_ptr<ChromeResourceDispatcherHostDelegate>
240 resource_dispatcher_host_delegate_; 239 resource_dispatcher_host_delegate_;
241 240
242 scoped_refptr<MHTMLGenerationManager> mhtml_generation_manager_;
243
244 // Monitors the state of the 'DisablePluginFinder' policy. 241 // Monitors the state of the 'DisablePluginFinder' policy.
245 scoped_ptr<BooleanPrefMember> plugin_finder_disabled_pref_; 242 scoped_ptr<BooleanPrefMember> plugin_finder_disabled_pref_;
246 243
247 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 244 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
248 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; 245 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_;
249 246
250 // Gets called by autoupdate timer to see if browser needs restart and can be 247 // Gets called by autoupdate timer to see if browser needs restart and can be
251 // restarted, and if that's the case, restarts the browser. 248 // restarted, and if that's the case, restarts the browser.
252 void OnAutoupdateTimer(); 249 void OnAutoupdateTimer();
253 bool CanAutorestartForUpdate() const; 250 bool CanAutorestartForUpdate() const;
(...skipping 14 matching lines...) Expand all
268 #endif 265 #endif
269 266
270 // TODO(eroman): Remove this when done debugging 113031. This tracks 267 // TODO(eroman): Remove this when done debugging 113031. This tracks
271 // the callstack which released the final module reference count. 268 // the callstack which released the final module reference count.
272 base::debug::StackTrace release_last_reference_callstack_; 269 base::debug::StackTrace release_last_reference_callstack_;
273 270
274 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 271 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
275 }; 272 };
276 273
277 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 274 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698