Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / renderer_host / chrome_render_message_filter.h
index 1e8c527..7763c13 100644 (file)
@@ -9,7 +9,6 @@
 #include <vector>
 
 #include "base/files/file_path.h"
-#include "base/memory/weak_ptr.h"
 #include "base/sequenced_task_runner_helpers.h"
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/common/content_settings.h"
@@ -19,7 +18,6 @@
 class CookieSettings;
 struct ExtensionHostMsg_APIActionOrEvent_Params;
 struct ExtensionHostMsg_DOMAction_Params;
-struct ExtensionHostMsg_Request_Params;
 struct ExtensionMsg_ExternalConnectionInfo;
 class GURL;
 
@@ -40,19 +38,6 @@ class ChromeRenderMessageFilter : public content::BrowserMessageFilter {
                             Profile* profile,
                             net::URLRequestContextGetter* request_context);
 
-  // Notification detail classes.
-  class FPSDetails {
-   public:
-    FPSDetails(int routing_id, float fps)
-        : routing_id_(routing_id),
-          fps_(fps) {}
-    int routing_id() const { return routing_id_; }
-    float fps() const { return fps_; }
-   private:
-    int routing_id_;
-    float fps_;
-  };
-
   class V8HeapStatsDetails {
    public:
     V8HeapStatsDetails(size_t v8_memory_allocated,
@@ -129,9 +114,6 @@ class ChromeRenderMessageFilter : public content::BrowserMessageFilter {
       const std::string& default_locale,
       IPC::Message* reply_msg);
   void OnExtensionCloseChannel(int port_id, const std::string& error_message);
-  void OnExtensionRequestForIOThread(
-      int routing_id,
-      const ExtensionHostMsg_Request_Params& params);
   void OnAddAPIActionToExtensionActivityLog(
       const std::string& extension_id,
       const ExtensionHostMsg_APIActionOrEvent_Params& params);
@@ -183,8 +165,6 @@ class ChromeRenderMessageFilter : public content::BrowserMessageFilter {
   // Used to look up permissions at database creation time.
   scoped_refptr<CookieSettings> cookie_settings_;
 
-  base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_;
-
   DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter);
 };