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

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

Issue 2566043004: Add renderer memory metrics (Closed)
Patch Set: Created 4 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
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 void RegisterExtension(v8::Extension* extension) override; 203 void RegisterExtension(v8::Extension* extension) override;
204 void ScheduleIdleHandler(int64_t initial_delay_ms) override; 204 void ScheduleIdleHandler(int64_t initial_delay_ms) override;
205 void IdleHandler() override; 205 void IdleHandler() override;
206 int64_t GetIdleNotificationDelayInMs() const override; 206 int64_t GetIdleNotificationDelayInMs() const override;
207 void SetIdleNotificationDelayInMs( 207 void SetIdleNotificationDelayInMs(
208 int64_t idle_notification_delay_in_ms) override; 208 int64_t idle_notification_delay_in_ms) override;
209 int PostTaskToAllWebWorkers(const base::Closure& closure) override; 209 int PostTaskToAllWebWorkers(const base::Closure& closure) override;
210 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; 210 bool ResolveProxy(const GURL& url, std::string* proxy_list) override;
211 base::WaitableEvent* GetShutdownEvent() override; 211 base::WaitableEvent* GetShutdownEvent() override;
212 int32_t GetClientId() override; 212 int32_t GetClientId() override;
213 void GetRendererMemoryMetrics(
214 RendererMemoryMetrics* memory_metrics) const override;
213 215
214 // IPC::Listener implementation via ChildThreadImpl: 216 // IPC::Listener implementation via ChildThreadImpl:
215 void OnAssociatedInterfaceRequest( 217 void OnAssociatedInterfaceRequest(
216 const std::string& name, 218 const std::string& name,
217 mojo::ScopedInterfaceEndpointHandle handle) override; 219 mojo::ScopedInterfaceEndpointHandle handle) override;
218 220
219 // CompositorDependencies implementation. 221 // CompositorDependencies implementation.
220 bool IsGpuRasterizationForced() override; 222 bool IsGpuRasterizationForced() override;
221 bool IsGpuRasterizationEnabled() override; 223 bool IsGpuRasterizationEnabled() override;
222 bool IsAsyncWorkerContextEnabled() override; 224 bool IsAsyncWorkerContextEnabled() override;
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 771 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
770 }; 772 };
771 773
772 #if defined(COMPILER_MSVC) 774 #if defined(COMPILER_MSVC)
773 #pragma warning(pop) 775 #pragma warning(pop)
774 #endif 776 #endif
775 777
776 } // namespace content 778 } // namespace content
777 779
778 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 780 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698