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

Unified Diff: content/public/browser/browser_thread.h

Issue 145283003: Switch AccessibilityMode to be a bitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src@enable
Patch Set: Switch IPC value to be the enum, rather than unsigned int Created 6 years, 10 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: content/public/browser/browser_thread.h
diff --git a/content/public/browser/browser_thread.h b/content/public/browser/browser_thread.h
index 55cb62b22355d339822414f06874d2bd2695590f..d575b20e6f91e42a24f1790b208ad9392deae758 100644
--- a/content/public/browser/browser_thread.h
+++ b/content/public/browser/browser_thread.h
@@ -59,26 +59,26 @@ class CONTENT_EXPORT BrowserThread {
// thread outliving every other thread below it.
enum ID {
// The main thread in the browser.
- UI,
+ UI, // 0
jochen (gone - plz use gerrit) 2014/02/12 09:56:07 unrelated change?
aboxhall 2014/02/12 18:16:57 Debugging cruft. Will remove.
// This is the thread that interacts with the database.
- DB,
+ DB, // 1
// This is the thread that interacts with the file system.
- FILE,
+ FILE,// 2
// Used for file system operations that block user interactions.
// Responsiveness of this thread affect users.
- FILE_USER_BLOCKING,
+ FILE_USER_BLOCKING, // 3
// Used to launch and terminate Chrome processes.
- PROCESS_LAUNCHER,
+ PROCESS_LAUNCHER, // 4
// This is the thread to handle slow HTTP cache operations.
- CACHE,
+ CACHE, // 5
// This is the thread that processes IPC and network messages.
- IO,
+ IO, // 6
// NOTE: do not add new threads here that are only used by a small number of
// files. Instead you should just use a Thread class and pass its
@@ -88,7 +88,7 @@ class CONTENT_EXPORT BrowserThread {
// This identifier does not represent a thread. Instead it counts the
// number of well-known threads. Insert new well-known threads before this
// identifier.
- ID_COUNT
+ ID_COUNT // 7
};
// These are the same methods in message_loop.h, but are guaranteed to either

Powered by Google App Engine
This is Rietveld 408576698