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

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

Issue 1671383003: [Onion Soup] Remove dead memory usage code in BlinkPlatformImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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
« no previous file with comments | « no previous file | content/child/blink_platform_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 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; 75 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override;
76 long long databaseGetSpaceAvailableForOrigin( 76 long long databaseGetSpaceAvailableForOrigin(
77 const blink::WebString& origin_identifier) override; 77 const blink::WebString& origin_identifier) override;
78 bool databaseSetFileSize(const blink::WebString& vfs_file_name, 78 bool databaseSetFileSize(const blink::WebString& vfs_file_name,
79 long long size) override; 79 long long size) override;
80 blink::WebString signedPublicKeyAndChallengeString( 80 blink::WebString signedPublicKeyAndChallengeString(
81 unsigned key_size_index, 81 unsigned key_size_index,
82 const blink::WebString& challenge, 82 const blink::WebString& challenge,
83 const blink::WebURL& url, 83 const blink::WebURL& url,
84 const blink::WebURL& top_origin) override; 84 const blink::WebURL& top_origin) override;
85 size_t memoryUsageMB() override;
86 size_t actualMemoryUsageMB() override; 85 size_t actualMemoryUsageMB() override;
87 size_t physicalMemoryMB() override;
88 size_t virtualMemoryLimitMB() override;
89 size_t numberOfProcessors() override; 86 size_t numberOfProcessors() override;
90 87
91 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( 88 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory(
92 size_t bytes) override; 89 size_t bytes) override;
93 size_t maxDecodedImageBytes() override; 90 size_t maxDecodedImageBytes() override;
94 uint32_t getUniqueIdForProcess() override; 91 uint32_t getUniqueIdForProcess() override;
95 blink::WebURLLoader* createURLLoader() override; 92 blink::WebURLLoader* createURLLoader() override;
96 blink::WebSocketHandle* createWebSocketHandle() override; 93 blink::WebSocketHandle* createWebSocketHandle() override;
97 blink::WebString userAgent() override; 94 blink::WebString userAgent() override;
98 blink::WebData parseDataURL(const blink::WebURL& url, 95 blink::WebData parseDataURL(const blink::WebURL& url,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; 190 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
194 191
195 TrialTokenValidator trial_token_validator_; 192 TrialTokenValidator trial_token_validator_;
196 193
197 scheduler::WebThreadBase* compositor_thread_; 194 scheduler::WebThreadBase* compositor_thread_;
198 }; 195 };
199 196
200 } // namespace content 197 } // namespace content
201 198
202 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 199 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698