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

Unified Diff: content/renderer/pepper/plugin_module.h

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/renderer/pepper/plugin_module.h
diff --git a/content/renderer/pepper/plugin_module.h b/content/renderer/pepper/plugin_module.h
index ad9463c45ada0567bd99cc2d7eb1b006d1b9d01b..dd25ecf8cb7fcfe94a9313fc167c04299f772eb0 100644
--- a/content/renderer/pepper/plugin_module.h
+++ b/content/renderer/pepper/plugin_module.h
@@ -58,9 +58,8 @@ struct WebPluginInfo;
//
// Note: to get from a PP_Instance to a PepperPluginInstance*, use the
// ResourceTracker.
-class CONTENT_EXPORT PluginModule :
- public base::RefCounted<PluginModule>,
- public base::SupportsWeakPtr<PluginModule> {
+class CONTENT_EXPORT PluginModule : public base::RefCounted<PluginModule>,
+ public base::SupportsWeakPtr<PluginModule> {
public:
typedef std::set<PepperPluginInstanceImpl*> PluginInstanceSet;
@@ -138,10 +137,9 @@ class CONTENT_EXPORT PluginModule :
const base::FilePath& path() const { return path_; }
const ppapi::PpapiPermissions& permissions() const { return permissions_; }
- PepperPluginInstanceImpl* CreateInstance(
- RenderFrameImpl* render_frame,
- blink::WebPluginContainer* container,
- const GURL& plugin_url);
+ PepperPluginInstanceImpl* CreateInstance(RenderFrameImpl* render_frame,
+ blink::WebPluginContainer* container,
+ const GURL& plugin_url);
// Returns "some" plugin instance associated with this module. This is not
// guaranteed to be any one in particular. This is normally used to execute
@@ -178,8 +176,7 @@ class CONTENT_EXPORT PluginModule :
// it exists to validate the ID. If the callback has not been set (such as
// for in-process plugins), the Reserve function will assume that the ID is
// usable and will return true.
- void SetReserveInstanceIDCallback(
- PP_Bool (*reserve)(PP_Module, PP_Instance));
+ void SetReserveInstanceIDCallback(PP_Bool (*reserve)(PP_Module, PP_Instance));
bool ReserveInstanceID(PP_Instance instance);
// These should only be called from the main thread.

Powered by Google App Engine
This is Rietveld 408576698