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

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

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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
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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 // Lives here so can safely log events on shutdown. 265 // Lives here so can safely log events on shutdown.
266 scoped_ptr<net_log::ChromeNetLog> net_log_; 266 scoped_ptr<net_log::ChromeNetLog> net_log_;
267 267
268 scoped_ptr<ChromeResourceDispatcherHostDelegate> 268 scoped_ptr<ChromeResourceDispatcherHostDelegate>
269 resource_dispatcher_host_delegate_; 269 resource_dispatcher_host_delegate_;
270 270
271 scoped_ptr<web_resource::PromoResourceService> promo_resource_service_; 271 scoped_ptr<web_resource::PromoResourceService> promo_resource_service_;
272 272
273 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 273 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
274 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; 274 base::RepeatingTimer autoupdate_timer_;
275 275
276 // Gets called by autoupdate timer to see if browser needs restart and can be 276 // Gets called by autoupdate timer to see if browser needs restart and can be
277 // restarted, and if that's the case, restarts the browser. 277 // restarted, and if that's the case, restarts the browser.
278 void OnAutoupdateTimer(); 278 void OnAutoupdateTimer();
279 bool CanAutorestartForUpdate() const; 279 bool CanAutorestartForUpdate() const;
280 void RestartBackgroundInstance(); 280 void RestartBackgroundInstance();
281 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS) 281 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS)
282 282
283 // component updater is normally not used under ChromeOS due 283 // component updater is normally not used under ChromeOS due
284 // to concerns over integrity of data shared between profiles, 284 // to concerns over integrity of data shared between profiles,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // chrome/browser/memory/oom_priority_manager_browsertest.cc 324 // chrome/browser/memory/oom_priority_manager_browsertest.cc
325 scoped_ptr<memory::OomPriorityManager> oom_priority_manager_; 325 scoped_ptr<memory::OomPriorityManager> oom_priority_manager_;
326 #endif 326 #endif
327 327
328 ShellIntegration::DefaultWebClientState cached_default_web_client_state_; 328 ShellIntegration::DefaultWebClientState cached_default_web_client_state_;
329 329
330 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 330 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
331 }; 331 };
332 332
333 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 333 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/apps/ephemeral_app_service.h ('k') | chrome/browser/captive_portal/captive_portal_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698