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

Side by Side Diff: content/public/browser/browser_thread.h

Issue 8366020: Create a secondary file thread, FILE_USER_BLOCKING... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // This is the thread that interacts with the database. 62 // This is the thread that interacts with the database.
63 DB, 63 DB,
64 64
65 // This is the "main" thread for WebKit within the browser process when 65 // This is the "main" thread for WebKit within the browser process when
66 // NOT in --single-process mode. 66 // NOT in --single-process mode.
67 WEBKIT, 67 WEBKIT,
68 68
69 // This is the thread that interacts with the file system. 69 // This is the thread that interacts with the file system.
70 FILE, 70 FILE,
71 71
72 // Used for file system operations that block user interactions.
73 // Responsiveness of this thread affect users.
74 FILE_USER_BLOCKING,
75
72 // Used to launch and terminate Chrome processes. 76 // Used to launch and terminate Chrome processes.
73 PROCESS_LAUNCHER, 77 PROCESS_LAUNCHER,
74 78
75 // This is the thread to handle slow HTTP cache operations. 79 // This is the thread to handle slow HTTP cache operations.
76 CACHE, 80 CACHE,
77 81
78 // This is the thread that processes IPC and network messages. 82 // This is the thread that processes IPC and network messages.
79 IO, 83 IO,
80 84
81 #if defined(OS_CHROMEOS) 85 #if defined(OS_CHROMEOS)
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 private: 266 private:
263 friend class BrowserThreadImpl; 267 friend class BrowserThreadImpl;
264 268
265 BrowserThread() {} 269 BrowserThread() {}
266 DISALLOW_COPY_AND_ASSIGN(BrowserThread); 270 DISALLOW_COPY_AND_ASSIGN(BrowserThread);
267 }; 271 };
268 272
269 } // namespace content 273 } // namespace content
270 274
271 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 275 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
OLDNEW
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698