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

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

Issue 8890018: Update Java Bridge to use its own thread in the browser process (Closed) Base URL: svn://svn.chromium.org/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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // Used for file system operations that block user interactions. 72 // Used for file system operations that block user interactions.
73 // Responsiveness of this thread affect users. 73 // Responsiveness of this thread affect users.
74 FILE_USER_BLOCKING, 74 FILE_USER_BLOCKING,
75 75
76 // Used to launch and terminate Chrome processes. 76 // Used to launch and terminate Chrome processes.
77 PROCESS_LAUNCHER, 77 PROCESS_LAUNCHER,
78 78
79 // This is the thread to handle slow HTTP cache operations. 79 // This is the thread to handle slow HTTP cache operations.
80 CACHE, 80 CACHE,
81 81
82 // This is the thread used to manipulate Java objects injected using the
83 // Java Bridge.
84 JAVA_BRIDGE,
joth 2011/12/08 18:25:54 could this go in #if defined, like WEB_SOCKET_PROX
Steve Block 2011/12/09 12:39:10 It could, but I thought the policy was to minimize
85
82 // This is the thread that processes IPC and network messages. 86 // This is the thread that processes IPC and network messages.
83 IO, 87 IO,
84 88
85 #if defined(OS_CHROMEOS) 89 #if defined(OS_CHROMEOS)
86 // This thread runs websocket to TCP proxy. 90 // This thread runs websocket to TCP proxy.
87 // TODO(dilmah): remove this thread, instead implement this functionality 91 // TODO(dilmah): remove this thread, instead implement this functionality
88 // as hooks into websocket layer. 92 // as hooks into websocket layer.
89 WEB_SOCKET_PROXY, 93 WEB_SOCKET_PROXY,
90 #endif 94 #endif
91 95
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 private: 246 private:
243 friend class BrowserThreadImpl; 247 friend class BrowserThreadImpl;
244 248
245 BrowserThread() {} 249 BrowserThread() {}
246 DISALLOW_COPY_AND_ASSIGN(BrowserThread); 250 DISALLOW_COPY_AND_ASSIGN(BrowserThread);
247 }; 251 };
248 252
249 } // namespace content 253 } // namespace content
250 254
251 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 255 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698