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

Side by Side Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h

Issue 61643022: Proxy private UMA pepper interface for out-of-process and NaCl plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused histogram names Created 6 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 int* render_process_id, 50 int* render_process_id,
51 int* render_frame_id) const OVERRIDE; 51 int* render_frame_id) const OVERRIDE;
52 virtual const std::string& GetPluginName() OVERRIDE; 52 virtual const std::string& GetPluginName() OVERRIDE;
53 virtual const base::FilePath& GetPluginPath() OVERRIDE; 53 virtual const base::FilePath& GetPluginPath() OVERRIDE;
54 virtual const base::FilePath& GetProfileDataDirectory() OVERRIDE; 54 virtual const base::FilePath& GetProfileDataDirectory() OVERRIDE;
55 virtual GURL GetDocumentURLForInstance(PP_Instance instance) OVERRIDE; 55 virtual GURL GetDocumentURLForInstance(PP_Instance instance) OVERRIDE;
56 virtual GURL GetPluginURLForInstance(PP_Instance instance) OVERRIDE; 56 virtual GURL GetPluginURLForInstance(PP_Instance instance) OVERRIDE;
57 virtual void SetOnKeepaliveCallback( 57 virtual void SetOnKeepaliveCallback(
58 const BrowserPpapiHost::OnKeepaliveCallback& callback) OVERRIDE; 58 const BrowserPpapiHost::OnKeepaliveCallback& callback) OVERRIDE;
59 59
60
61 void set_plugin_process_handle(base::ProcessHandle handle) { 60 void set_plugin_process_handle(base::ProcessHandle handle) {
62 plugin_process_handle_ = handle; 61 plugin_process_handle_ = handle;
63 } 62 }
64 63
65 bool external_plugin() const { return external_plugin_; } 64 bool external_plugin() const { return external_plugin_; }
66 65
67 // These two functions are notifications that an instance has been created 66 // These two functions are notifications that an instance has been created
68 // or destroyed. They allow us to maintain a mapping of PP_Instance to data 67 // or destroyed. They allow us to maintain a mapping of PP_Instance to data
69 // associated with the instance including view IDs in the browser process. 68 // associated with the instance including view IDs in the browser process.
70 void AddInstance(PP_Instance instance, 69 void AddInstance(PP_Instance instance,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 scoped_refptr<HostMessageFilter> message_filter_; 130 scoped_refptr<HostMessageFilter> message_filter_;
132 131
133 BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_; 132 BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_;
134 133
135 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl); 134 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl);
136 }; 135 };
137 136
138 } // namespace content 137 } // namespace content
139 138
140 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ 139 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698