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

Side by Side Diff: content/public/renderer/render_thread.h

Issue 2447143003: Use kRenderClientId command line flag when starting a render process (Closed)
Patch Set: Added RenderThread::GetClientId() to fix the problem where some tests don't have the kRendererClien… Created 4 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // Post task to all worker threads. Returns number of workers. 99 // Post task to all worker threads. Returns number of workers.
100 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) = 0; 100 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) = 0;
101 101
102 // Resolve the proxy servers to use for a given url. On success true is 102 // Resolve the proxy servers to use for a given url. On success true is
103 // returned and |proxy_list| is set to a PAC string containing a list of 103 // returned and |proxy_list| is set to a PAC string containing a list of
104 // proxy servers. 104 // proxy servers.
105 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) = 0; 105 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) = 0;
106 106
107 // Gets the shutdown event for the process. 107 // Gets the shutdown event for the process.
108 virtual base::WaitableEvent* GetShutdownEvent() = 0; 108 virtual base::WaitableEvent* GetShutdownEvent() = 0;
109
110 // Retrieve the process ID of the browser process.
111 virtual int32_t GetClientId() = 0;
109 }; 112 };
110 113
111 } // namespace content 114 } // namespace content
112 115
113 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 116 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698