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

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

Issue 7054005: Fix gpu acceleration with --in-process-gpu (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: add comment Created 9 years, 7 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
« no previous file with comments | « chrome/test/testing_browser_process.cc ('k') | content/browser/browser_thread.cc » ('j') | 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_BROWSER_BROWSER_THREAD_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_THREAD_H_
6 #define CONTENT_BROWSER_BROWSER_THREAD_H_ 6 #define CONTENT_BROWSER_BROWSER_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 // Used to launch and terminate Chrome processes. 61 // Used to launch and terminate Chrome processes.
62 PROCESS_LAUNCHER, 62 PROCESS_LAUNCHER,
63 63
64 // This is the thread to handle slow HTTP cache operations. 64 // This is the thread to handle slow HTTP cache operations.
65 CACHE, 65 CACHE,
66 66
67 // This is the thread that processes IPC and network messages. 67 // This is the thread that processes IPC and network messages.
68 IO, 68 IO,
69 69
70 // This thread issues calls to the GPU in the browser process.
71 GPU,
72
73 #if defined(USE_X11) 70 #if defined(USE_X11)
74 // This thread has a second connection to the X server and is used to 71 // This thread has a second connection to the X server and is used to
75 // process UI requests when routing the request to the UI thread would risk 72 // process UI requests when routing the request to the UI thread would risk
76 // deadlock. 73 // deadlock.
77 BACKGROUND_X11, 74 BACKGROUND_X11,
78 #endif 75 #endif
79 76
80 #if defined(OS_CHROMEOS) 77 #if defined(OS_CHROMEOS)
81 // This thread runs websocket to TCP proxy. 78 // This thread runs websocket to TCP proxy.
82 // TODO(dilmah): remove this thread, instead implement this functionality 79 // TODO(dilmah): remove this thread, instead implement this functionality
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 static base::Lock lock_; 242 static base::Lock lock_;
246 243
247 // An array of the BrowserThread objects. This array is protected by |lock_|. 244 // An array of the BrowserThread objects. This array is protected by |lock_|.
248 // The threads are not owned by this array. Typically, the threads are owned 245 // The threads are not owned by this array. Typically, the threads are owned
249 // on the UI thread by the g_browser_process object. BrowserThreads remove 246 // on the UI thread by the g_browser_process object. BrowserThreads remove
250 // themselves from this array upon destruction. 247 // themselves from this array upon destruction.
251 static BrowserThread* browser_threads_[ID_COUNT]; 248 static BrowserThread* browser_threads_[ID_COUNT];
252 }; 249 };
253 250
254 #endif // CONTENT_BROWSER_BROWSER_THREAD_H_ 251 #endif // CONTENT_BROWSER_BROWSER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/test/testing_browser_process.cc ('k') | content/browser/browser_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698