PPAPI: Suppport GetSupportedVideoCaptureFormats for frame_rate

BUG=387547
TEST=Call the API from a trusted plugin and print all video capture formats.

Review URL: https://codereview.chromium.org/911623002

Cr-Commit-Position: refs/heads/master@{#317230}
diff --git a/ppapi/proxy/image_capture_resource.h b/ppapi/proxy/image_capture_resource.h
index 491c91e..2db3a0f7 100644
--- a/ppapi/proxy/image_capture_resource.h
+++ b/ppapi/proxy/image_capture_resource.h
@@ -7,6 +7,7 @@
 
 #include "base/basictypes.h"
 #include "ppapi/c/pp_size.h"
+#include "ppapi/c/private/pp_video_capture_format.h"
 #include "ppapi/proxy/connection.h"
 #include "ppapi/proxy/plugin_resource.h"
 #include "ppapi/proxy/ppapi_proxy_export.h"
@@ -42,10 +43,11 @@
  private:
   enum class OpenState { BEFORE_OPEN, OPENED, CLOSED };
 
-  void OnPluginMsgGetPreviewSizesReply(
+  void OnPluginMsgGetVideoCaptureFormatsReply(
       PP_Resource* capabilities_output,
       const ResourceMessageReplyParams& params,
-      const std::vector<PP_Size>& preview_sizes);
+      const std::vector<PP_VideoCaptureFormat>& formats);
+
   void OnPluginMsgOpenReply(const ResourceMessageReplyParams& params);
 
   bool is_opened() const { return open_state_ == OpenState::OPENED; }