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

Unified Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h

Issue 2762513002: Remove keep-alive impulse IPCs from NaCl modules. (Closed)
Patch Set: Rebase Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
index 32cd6281e84db43ff3d34554637fa337f2cd7578..db48eac07f322f59a02ddc59dc973415db8aa431 100644
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
@@ -71,8 +71,6 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
const base::FilePath& GetProfileDataDirectory() override;
GURL GetDocumentURLForInstance(PP_Instance instance) override;
GURL GetPluginURLForInstance(PP_Instance instance) override;
- void SetOnKeepaliveCallback(
- const BrowserPpapiHost::OnKeepaliveCallback& callback) override;
// Whether the plugin context is secure. That is, it is served from a secure
// origin and it is embedded within a hierarchy of secure frames. This value
@@ -125,7 +123,6 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
private:
~HostMessageFilter() override;
- void OnKeepalive();
void OnHostMsgLogInterfaceUsage(int hash) const;
// Non owning pointers cleared in OnHostDestroyed()
@@ -143,9 +140,6 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
base::ObserverList<InstanceObserver> observer_list;
};
- // Reports plugin activity to the callback set with SetOnKeepaliveCallback.
- void OnKeepalive();
-
std::unique_ptr<ppapi::host::PpapiHost> ppapi_host_;
base::Process plugin_process_;
std::string plugin_name_;
@@ -166,8 +160,6 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
scoped_refptr<HostMessageFilter> message_filter_;
- BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_;
-
DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl);
};
« no previous file with comments | « components/nacl/browser/test_nacl_browser_delegate.cc ('k') | content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698