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

Unified Diff: chrome/browser/io_thread.h

Issue 18618004: Change BrowserThreadDelegate to run Init() async. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Init and InitAsync Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 506f96aca0b0a7a157012fd0094a1b2a326fae48..bcca97ad599ce7166d401caf2617afa2713d5b59 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -209,7 +209,8 @@ class IOThread : public content::BrowserThreadDelegate {
// BrowserThreadDelegate implementation, runs on the IO thread.
// This handles initialization and destruction of state that must
// live on the IO thread.
- virtual void Init() OVERRIDE;
+ virtual void Init() OVERRIDE {}
awong 2013/07/16 21:21:39 nit: don't inline virtual functions.
+ virtual void InitAsync() OVERRIDE;
virtual void CleanUp() OVERRIDE;
void InitializeNetworkOptions(const CommandLine& parsed_command_line);

Powered by Google App Engine
This is Rietveld 408576698