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

Side by Side Diff: webkit/glue/webkitplatformsupport_impl.h

Issue 10823205: Report memory retained by memory allocator internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing DCHECK. Created 8 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
« no previous file with comments | « content/app/content_main_runner.cc ('k') | webkit/glue/webkitplatformsupport_impl.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) 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 WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 5 #ifndef WEBKIT_PLATFORM_SUPPORT_IMPL_H_
6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const WebKit::WebURL& url); 63 const WebKit::WebURL& url);
64 virtual size_t memoryUsageMB(); 64 virtual size_t memoryUsageMB();
65 virtual size_t actualMemoryUsageMB(); 65 virtual size_t actualMemoryUsageMB();
66 #if defined(OS_ANDROID) // Other OSes just use the default values. 66 #if defined(OS_ANDROID) // Other OSes just use the default values.
67 virtual size_t lowMemoryUsageMB() OVERRIDE; 67 virtual size_t lowMemoryUsageMB() OVERRIDE;
68 virtual size_t highMemoryUsageMB() OVERRIDE; 68 virtual size_t highMemoryUsageMB() OVERRIDE;
69 virtual size_t highUsageDeltaMB() OVERRIDE; 69 virtual size_t highUsageDeltaMB() OVERRIDE;
70 #endif 70 #endif
71 virtual bool processMemorySizesInBytes(size_t* private_bytes, 71 virtual bool processMemorySizesInBytes(size_t* private_bytes,
72 size_t* shared_bytes); 72 size_t* shared_bytes);
73 virtual bool memoryAllocatorWasteInBytes(size_t* size);
73 virtual WebKit::WebURLLoader* createURLLoader(); 74 virtual WebKit::WebURLLoader* createURLLoader();
74 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); 75 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle();
75 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); 76 virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
76 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); 77 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*);
77 virtual void decrementStatsCounter(const char* name); 78 virtual void decrementStatsCounter(const char* name);
78 virtual void incrementStatsCounter(const char* name); 79 virtual void incrementStatsCounter(const char* name);
79 virtual void histogramCustomCounts( 80 virtual void histogramCustomCounts(
80 const char* name, int sample, int min, int max, int bucket_count); 81 const char* name, int sample, int min, int max, int bucket_count);
81 virtual void histogramEnumeration( 82 virtual void histogramEnumeration(
82 const char* name, int sample, int boundary_value); 83 const char* name, int sample, int boundary_value);
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 double shared_timer_fire_time_; 172 double shared_timer_fire_time_;
172 int shared_timer_suspended_; // counter 173 int shared_timer_suspended_; // counter
173 WebThemeEngineImpl theme_engine_; 174 WebThemeEngineImpl theme_engine_;
174 base::ThreadLocalStorage::Slot current_thread_slot_; 175 base::ThreadLocalStorage::Slot current_thread_slot_;
175 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_; 176 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_;
176 }; 177 };
177 178
178 } // namespace webkit_glue 179 } // namespace webkit_glue
179 180
180 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 181 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/app/content_main_runner.cc ('k') | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698