Index: content/public/renderer/plugin_instance_throttler.cc |
diff --git a/content/public/renderer/plugin_instance_throttler.cc b/content/public/renderer/plugin_instance_throttler.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4e6a268c3c67898eb40ba7f8292567c50e6f0d84 |
--- /dev/null |
+++ b/content/public/renderer/plugin_instance_throttler.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 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. |
+ |
+#include "content/public/renderer/plugin_instance_throttler.h" |
+ |
+#include "content/renderer/pepper/plugin_instance_throttler_impl.h" |
+ |
+namespace content { |
+ |
+// static |
+scoped_ptr<PluginInstanceThrottler> PluginInstanceThrottler::Create( |
+ RenderFrame* frame, |
+ const GURL& plugin_url, |
+ PluginPowerSaverMode power_saver_mode) { |
+ return make_scoped_ptr( |
+ new PluginInstanceThrottlerImpl(frame, plugin_url, power_saver_mode)); |
+} |
+ |
+} // namespace content |