Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / browser / renderer_host / pepper / browser_ppapi_host_impl.h
index 43ae426..bd0c61d 100644 (file)
@@ -42,23 +42,22 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
                        const base::FilePath& profile_data_directory,
                        bool in_process,
                        bool external_plugin);
-  virtual ~BrowserPpapiHostImpl();
+  ~BrowserPpapiHostImpl() override;
 
   // BrowserPpapiHost.
-  virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
-  virtual base::ProcessHandle GetPluginProcessHandle() const OVERRIDE;
-  virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
-  virtual bool GetRenderFrameIDsForInstance(PP_Instance instance,
-                                            int* render_process_id,
-                                            int* render_frame_id) const
-      OVERRIDE;
-  virtual const std::string& GetPluginName() OVERRIDE;
-  virtual const base::FilePath& GetPluginPath() OVERRIDE;
-  virtual const base::FilePath& GetProfileDataDirectory() OVERRIDE;
-  virtual GURL GetDocumentURLForInstance(PP_Instance instance) OVERRIDE;
-  virtual GURL GetPluginURLForInstance(PP_Instance instance) OVERRIDE;
-  virtual void SetOnKeepaliveCallback(
-      const BrowserPpapiHost::OnKeepaliveCallback& callback) OVERRIDE;
+  ppapi::host::PpapiHost* GetPpapiHost() override;
+  base::ProcessHandle GetPluginProcessHandle() const override;
+  bool IsValidInstance(PP_Instance instance) const override;
+  bool GetRenderFrameIDsForInstance(PP_Instance instance,
+                                    int* render_process_id,
+                                    int* render_frame_id) const override;
+  const std::string& GetPluginName() override;
+  const base::FilePath& GetPluginPath() override;
+  const base::FilePath& GetProfileDataDirectory() override;
+  GURL GetDocumentURLForInstance(PP_Instance instance) override;
+  GURL GetPluginURLForInstance(PP_Instance instance) override;
+  void SetOnKeepaliveCallback(
+      const BrowserPpapiHost::OnKeepaliveCallback& callback) override;
 
   void set_plugin_process_handle(base::ProcessHandle handle) {
     plugin_process_handle_ = handle;
@@ -93,12 +92,12 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
                       BrowserPpapiHostImpl* browser_ppapi_host_impl);
 
     // IPC::MessageFilter.
-    virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
+    bool OnMessageReceived(const IPC::Message& msg) override;
 
     void OnHostDestroyed();
 
    private:
-    virtual ~HostMessageFilter();
+    ~HostMessageFilter() override;
 
     void OnKeepalive();
     void OnHostMsgLogInterfaceUsage(int hash) const;