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

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

Issue 43148: Remove unneeded uses of logging.h in header files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_CHROME_THREAD_H__ 5 #ifndef CHROME_BROWSER_CHROME_THREAD_H__
6 #define CHROME_BROWSER_CHROME_THREAD_H__ 6 #define CHROME_BROWSER_CHROME_THREAD_H__
7 7
8 #include "base/lock.h" 8 #include "base/lock.h"
9 #include "base/logging.h"
10 #include "base/thread.h" 9 #include "base/thread.h"
11 10
12 /////////////////////////////////////////////////////////////////////////////// 11 ///////////////////////////////////////////////////////////////////////////////
13 // ChromeThread 12 // ChromeThread
14 // 13 //
15 // This class represents a thread that is known by a browser-wide name. For 14 // This class represents a thread that is known by a browser-wide name. For
16 // example, there is one IO thread for the entire browser process, and various 15 // example, there is one IO thread for the entire browser process, and various
17 // pieces of code find it useful to retrieve a pointer to the IO thread's 16 // pieces of code find it useful to retrieve a pointer to the IO thread's
18 // MessageLoop by name: 17 // MessageLoop by name:
19 // 18 //
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 static Lock lock_; 71 static Lock lock_;
73 72
74 // An array of the ChromeThread objects. This array is protected by |lock_|. 73 // An array of the ChromeThread objects. This array is protected by |lock_|.
75 // The threads are not owned by this array. Typically, the threads are owned 74 // The threads are not owned by this array. Typically, the threads are owned
76 // on the IU thread by the g_browser_process object. ChromeThreads remove 75 // on the IU thread by the g_browser_process object. ChromeThreads remove
77 // themselves from this array upon destruction. 76 // themselves from this array upon destruction.
78 static ChromeThread* chrome_threads_[ID_COUNT]; 77 static ChromeThread* chrome_threads_[ID_COUNT];
79 }; 78 };
80 79
81 #endif // #ifndef CHROME_BROWSER_CHROME_THREAD_H__ 80 #endif // #ifndef CHROME_BROWSER_CHROME_THREAD_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698