summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/plugin_proxy_delegate.h
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 19:30:58 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 19:30:58 +0000
commit72a1072525f076a8fb46de782df640e3006512a2 (patch)
treec0c3ebba54b1dcb4d758a9810fab23a0ddcfeb0e /ppapi/proxy/plugin_proxy_delegate.h
parent6c1d2994c9472e09336d08a496d54332256dcc22 (diff)
downloadchromium_src-72a1072525f076a8fb46de782df640e3006512a2.zip
chromium_src-72a1072525f076a8fb46de782df640e3006512a2.tar.gz
chromium_src-72a1072525f076a8fb46de782df640e3006512a2.tar.bz2
This adds an interface for setting crash data from a plugin. It also provides an implementation for setting crash URLs.
BUG=134176 TEST=Added test case to sanity check API call. Also hooked up to flash and produced a crash and checked that the report included the document url (http://crash/reportdetail?reportid=1719cae3a745f633) Review URL: https://chromiumcodereview.appspot.com/10681006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/plugin_proxy_delegate.h')
-rw-r--r--ppapi/proxy/plugin_proxy_delegate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ppapi/proxy/plugin_proxy_delegate.h b/ppapi/proxy/plugin_proxy_delegate.h
index 82b540e..0ce2655 100644
--- a/ppapi/proxy/plugin_proxy_delegate.h
+++ b/ppapi/proxy/plugin_proxy_delegate.h
@@ -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.
@@ -24,6 +24,9 @@ class PPAPI_PROXY_EXPORT PluginProxyDelegate {
// Performs Windows-specific font caching in the browser for the given
// LOGFONTW. Does nothing on non-Windows platforms.
virtual void PreCacheFont(const void* logfontw) = 0;
+
+ // Sets the active url which is reported by breakpad.
+ virtual void SetActiveURL(const std::string& url) = 0;
};
} // namespace proxy