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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2447143003: Use kRenderClientId command line flag when starting a render process (Closed)
Patch Set: Changes based on comments: removed unnecessary includes; additional checking for in GetClientId() f… 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_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 void RegisterExtension(v8::Extension* extension) override; 204 void RegisterExtension(v8::Extension* extension) override;
205 void ScheduleIdleHandler(int64_t initial_delay_ms) override; 205 void ScheduleIdleHandler(int64_t initial_delay_ms) override;
206 void IdleHandler() override; 206 void IdleHandler() override;
207 int64_t GetIdleNotificationDelayInMs() const override; 207 int64_t GetIdleNotificationDelayInMs() const override;
208 void SetIdleNotificationDelayInMs( 208 void SetIdleNotificationDelayInMs(
209 int64_t idle_notification_delay_in_ms) override; 209 int64_t idle_notification_delay_in_ms) override;
210 void UpdateHistograms(int sequence_number) override; 210 void UpdateHistograms(int sequence_number) override;
211 int PostTaskToAllWebWorkers(const base::Closure& closure) override; 211 int PostTaskToAllWebWorkers(const base::Closure& closure) override;
212 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; 212 bool ResolveProxy(const GURL& url, std::string* proxy_list) override;
213 base::WaitableEvent* GetShutdownEvent() override; 213 base::WaitableEvent* GetShutdownEvent() override;
214 int32_t GetClientId() override;
214 215
215 // IPC::Listener implementation via ChildThreadImpl: 216 // IPC::Listener implementation via ChildThreadImpl:
216 void OnAssociatedInterfaceRequest( 217 void OnAssociatedInterfaceRequest(
217 const std::string& name, 218 const std::string& name,
218 mojo::ScopedInterfaceEndpointHandle handle) override; 219 mojo::ScopedInterfaceEndpointHandle handle) override;
219 220
220 // CompositorDependencies implementation. 221 // CompositorDependencies implementation.
221 bool IsGpuRasterizationForced() override; 222 bool IsGpuRasterizationForced() override;
222 bool IsGpuRasterizationEnabled() override; 223 bool IsGpuRasterizationEnabled() override;
223 bool IsAsyncWorkerContextEnabled() override; 224 bool IsAsyncWorkerContextEnabled() override;
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 749 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
749 }; 750 };
750 751
751 #if defined(COMPILER_MSVC) 752 #if defined(COMPILER_MSVC)
752 #pragma warning(pop) 753 #pragma warning(pop)
753 #endif 754 #endif
754 755
755 } // namespace content 756 } // namespace content
756 757
757 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 758 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698