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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 1468033002: Remove unused memory functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused functions from base/allocator Created 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHILD_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/containers/scoped_ptr_hash_map.h" 9 #include "base/containers/scoped_ptr_hash_map.h"
10 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 unsigned key_size_index, 70 unsigned key_size_index,
71 const blink::WebString& challenge, 71 const blink::WebString& challenge,
72 const blink::WebURL& url) override; 72 const blink::WebURL& url) override;
73 size_t memoryUsageMB() override; 73 size_t memoryUsageMB() override;
74 size_t actualMemoryUsageMB() override; 74 size_t actualMemoryUsageMB() override;
75 size_t physicalMemoryMB() override; 75 size_t physicalMemoryMB() override;
76 size_t virtualMemoryLimitMB() override; 76 size_t virtualMemoryLimitMB() override;
77 bool isLowEndDeviceMode() override; 77 bool isLowEndDeviceMode() override;
78 size_t numberOfProcessors() override; 78 size_t numberOfProcessors() override;
79 79
80 bool processMemorySizesInBytes(size_t* private_bytes,
81 size_t* shared_bytes) override;
82 bool memoryAllocatorWasteInBytes(size_t* size) override;
83 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( 80 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory(
84 size_t bytes) override; 81 size_t bytes) override;
85 size_t maxDecodedImageBytes() override; 82 size_t maxDecodedImageBytes() override;
86 uint32_t getUniqueIdForProcess() override; 83 uint32_t getUniqueIdForProcess() override;
87 blink::WebURLLoader* createURLLoader() override; 84 blink::WebURLLoader* createURLLoader() override;
88 blink::WebSocketHandle* createWebSocketHandle() override; 85 blink::WebSocketHandle* createWebSocketHandle() override;
89 blink::WebString userAgent() override; 86 blink::WebString userAgent() override;
90 blink::WebData parseDataURL(const blink::WebURL& url, 87 blink::WebData parseDataURL(const blink::WebURL& url,
91 blink::WebString& mimetype, 88 blink::WebString& mimetype,
92 blink::WebString& charset) override; 89 blink::WebString& charset) override;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 206 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
210 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 207 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
211 scoped_refptr<PushDispatcher> push_dispatcher_; 208 scoped_refptr<PushDispatcher> push_dispatcher_;
212 scoped_ptr<PermissionDispatcher> permission_client_; 209 scoped_ptr<PermissionDispatcher> permission_client_;
213 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; 210 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
214 }; 211 };
215 212
216 } // namespace content 213 } // namespace content
217 214
218 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 215 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698