summaryrefslogtreecommitdiffstats
path: root/content/plugin/webplugin_proxy.cc
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 18:09:17 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 18:09:17 +0000
commita5f73fea37577eb8a796ca2fb3bc3e5a415ae8f2 (patch)
treeaaa4131e03ff7b0c4ecbaaf41ac75c556d0f6fd9 /content/plugin/webplugin_proxy.cc
parentc2bc226b65ccdb195cb0646ee8baac68f3264a21 (diff)
downloadchromium_src-a5f73fea37577eb8a796ca2fb3bc3e5a415ae8f2.zip
chromium_src-a5f73fea37577eb8a796ca2fb3bc3e5a415ae8f2.tar.gz
chromium_src-a5f73fea37577eb8a796ca2fb3bc3e5a415ae8f2.tar.bz2
Track (and eventually cap) Flash JIT size
BUG=113891 Review URL: http://codereview.chromium.org/9386003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122109 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin/webplugin_proxy.cc')
-rw-r--r--content/plugin/webplugin_proxy.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc
index 5b0ac6d..d664c5c 100644
--- a/content/plugin/webplugin_proxy.cc
+++ b/content/plugin/webplugin_proxy.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -142,6 +142,11 @@ void WebPluginProxy::ReparentPluginWindow(HWND window, HWND parent) {
PluginThread::current()->Send(
new PluginProcessHostMsg_ReparentPluginWindow(window, parent));
}
+
+void WebPluginProxy::ReportExecutableMemory(size_t size) {
+ PluginThread::current()->Send(
+ new PluginProcessHostMsg_ReportExecutableMemory(size));
+}
#endif
void WebPluginProxy::CancelResource(unsigned long id) {