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

Side by Side Diff: public/web/WebKit.h

Issue 1155293007: Expose ReleaseFreeMemory to free up memory on memory pressure or idle cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: made changes. Created 5 years, 6 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
« Source/wtf/Partitions.cpp ('K') | « Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 BLINK_EXPORT void setFontAntialiasingEnabledForTest(bool); 78 BLINK_EXPORT void setFontAntialiasingEnabledForTest(bool);
79 BLINK_EXPORT bool fontAntialiasingEnabledForTest(); 79 BLINK_EXPORT bool fontAntialiasingEnabledForTest();
80 80
81 // Enables the named log channel. See WebCore/platform/Logging.h for details. 81 // Enables the named log channel. See WebCore/platform/Logging.h for details.
82 BLINK_EXPORT void enableLogChannel(const char*); 82 BLINK_EXPORT void enableLogChannel(const char*);
83 83
84 // Purge the plugin list cache. If |reloadPages| is true, any pages 84 // Purge the plugin list cache. If |reloadPages| is true, any pages
85 // containing plugins will be reloaded after refreshing the plugin list. 85 // containing plugins will be reloaded after refreshing the plugin list.
86 BLINK_EXPORT void resetPluginCache(bool reloadPages = false); 86 BLINK_EXPORT void resetPluginCache(bool reloadPages = false);
87 87
88 // Clears free memory held for performance.
Primiano Tucci (use gerrit) 2015/06/03 11:09:23 Hmm this is a bit confusing. Maybe say // Decommit
89 BLINK_EXPORT void releaseFreeMemory();
haraken 2015/06/03 11:39:00 Also I'd rename this API to decommitFreeableMemory
ssid 2015/06/05 12:44:49 Done.
90
88 } // namespace blink 91 } // namespace blink
89 92
90 #endif 93 #endif
OLDNEW
« Source/wtf/Partitions.cpp ('K') | « Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698