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

Side by Side Diff: content/common/render_process_messages.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, 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
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // Common IPC messages used for render processes. 5 // Common IPC messages used for render processes.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 IPC_MESSAGE_CONTROL3(RenderProcessHostMsg_DidGenerateCacheableMetadata, 48 IPC_MESSAGE_CONTROL3(RenderProcessHostMsg_DidGenerateCacheableMetadata,
49 GURL /* url */, 49 GURL /* url */,
50 base::Time /* expected_response_time */, 50 base::Time /* expected_response_time */,
51 std::vector<char> /* data */) 51 std::vector<char> /* data */)
52 52
53 // Notify the browser that this render process can or can't be suddenly 53 // Notify the browser that this render process can or can't be suddenly
54 // terminated. 54 // terminated.
55 IPC_MESSAGE_CONTROL1(RenderProcessHostMsg_SuddenTerminationChanged, 55 IPC_MESSAGE_CONTROL1(RenderProcessHostMsg_SuddenTerminationChanged,
56 bool /* enabled */) 56 bool /* enabled */)
57 57
58 // Asks the browser for the renderer process memory size stats.
59 IPC_SYNC_MESSAGE_CONTROL0_2(RenderProcessHostMsg_GetProcessMemorySizes,
60 size_t /* private_bytes */,
61 size_t /* shared_bytes */)
62
63 #if defined(OS_MACOSX) 58 #if defined(OS_MACOSX)
64 // Request that the browser load a font into shared memory for us. 59 // Request that the browser load a font into shared memory for us.
65 IPC_SYNC_MESSAGE_CONTROL1_3(RenderProcessHostMsg_LoadFont, 60 IPC_SYNC_MESSAGE_CONTROL1_3(RenderProcessHostMsg_LoadFont,
66 FontDescriptor /* font to load */, 61 FontDescriptor /* font to load */,
67 uint32 /* buffer size */, 62 uint32 /* buffer size */,
68 base::SharedMemoryHandle /* font data */, 63 base::SharedMemoryHandle /* font data */,
69 uint32 /* font id */) 64 uint32 /* font id */)
70 #elif defined(OS_WIN) 65 #elif defined(OS_WIN)
71 // Request that the given font characters be loaded by the browser so it's 66 // Request that the given font characters be loaded by the browser so it's
72 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 67 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
73 // for details. 68 // for details.
74 IPC_SYNC_MESSAGE_CONTROL2_0(RenderProcessHostMsg_PreCacheFontCharacters, 69 IPC_SYNC_MESSAGE_CONTROL2_0(RenderProcessHostMsg_PreCacheFontCharacters,
75 LOGFONT /* font_data */, 70 LOGFONT /* font_data */,
76 base::string16 /* characters */) 71 base::string16 /* characters */)
77 72
78 // Asks the browser for the user's monitor profile. 73 // Asks the browser for the user's monitor profile.
79 IPC_SYNC_MESSAGE_CONTROL0_1(RenderProcessHostMsg_GetMonitorColorProfile, 74 IPC_SYNC_MESSAGE_CONTROL0_1(RenderProcessHostMsg_GetMonitorColorProfile,
80 std::vector<char> /* profile */) 75 std::vector<char> /* profile */)
81 #endif 76 #endif
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698