summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_thread.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-10 21:11:37 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-10 21:11:37 +0000
commit865cffafa0bec1cb064f3ac90894ef4dc879778d (patch)
tree510fd5198c5e480349b6cbe857d4017039feea46 /chrome/browser/chrome_thread.h
parentba69f14e328ac74ad65343eecadfec74273179f5 (diff)
downloadchromium_src-865cffafa0bec1cb064f3ac90894ef4dc879778d.zip
chromium_src-865cffafa0bec1cb064f3ac90894ef4dc879778d.tar.gz
chromium_src-865cffafa0bec1cb064f3ac90894ef4dc879778d.tar.bz2
Small cleanup. No more need for Init() since the internal process id is valid at construction of RMF. Also make the destructor private.
Review URL: http://codereview.chromium.org/379014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_thread.h')
-rw-r--r--chrome/browser/chrome_thread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/chrome_thread.h b/chrome/browser/chrome_thread.h
index 0e84b59..fd791bd 100644
--- a/chrome/browser/chrome_thread.h
+++ b/chrome/browser/chrome_thread.h
@@ -142,6 +142,13 @@ class ChromeThread : public base::Thread {
// class Foo
// : public base::RefCountedThreadSafe<
// Foo, ChromeThread::DeleteOnIOThread> {
+ //
+ // ...
+ // private:
+ // friend class ChromeThread;
+ // friend class DeleteTask<Foo>;
+ //
+ // ~Foo();
struct DeleteOnUIThread : public DeleteOnThread<UI> { };
struct DeleteOnIOThread : public DeleteOnThread<IO> { };
struct DeleteOnFileThread : public DeleteOnThread<FILE> { };