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

Unified Diff: chrome/browser/renderer_host/pepper_message_filter.h

Issue 6532073: Move core pieces of browser\renderer_host to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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: chrome/browser/renderer_host/pepper_message_filter.h
===================================================================
--- chrome/browser/renderer_host/pepper_message_filter.h (revision 75488)
+++ chrome/browser/renderer_host/pepper_message_filter.h (working copy)
@@ -6,65 +6,7 @@
#define CHROME_BROWSER_RENDERER_HOST_PEPPER_MESSAGE_FILTER_H_
#pragma once
-#include <string>
+// TODO(jam): remove this file when all files have been converted.
+#include "content/browser/renderer_host/pepper_message_filter.h"
-#include "base/basictypes.h"
-#include "base/process.h"
-#include "chrome/browser/browser_message_filter.h"
-#include "ipc/ipc_channel_proxy.h"
-#include "ppapi/c/private/ppb_flash.h"
-
-class Profile;
-class URLRequestContextGetter;
-
-namespace net {
-class AddressList;
-}
-
-class PepperMessageFilter : public BrowserMessageFilter {
- public:
- explicit PepperMessageFilter(Profile* profile);
- virtual ~PepperMessageFilter();
-
- private:
- // BrowserMessageFilter methods.
- virtual bool OnMessageReceived(const IPC::Message& message,
- bool* message_was_ok);
-
-#if defined(ENABLE_FLAPPER_HACKS)
- // Message handlers.
- void OnConnectTcp(int routing_id,
- int request_id,
- const std::string& host,
- uint16 port);
- void OnConnectTcpAddress(int routing_id,
- int request_id,
- const PP_Flash_NetAddress& address);
-
- // |Send()| a |PepperMsg_ConnectTcpACK|, which reports an error.
- bool SendConnectTcpACKError(int routing_id,
- int request_id);
-
- // Used by |OnConnectTcp()| (below).
- class LookupRequest;
- friend class LookupRequest;
-
- // Continuation of |OnConnectTcp()|.
- void ConnectTcpLookupFinished(int routing_id,
- int request_id,
- const net::AddressList& addresses);
- void ConnectTcpOnWorkerThread(int routing_id,
- int request_id,
- net::AddressList addresses);
-
- // Continuation of |OnConnectTcpAddress()|.
- void ConnectTcpAddressOnWorkerThread(int routing_id,
- int request_id,
- PP_Flash_NetAddress addr);
-#endif // ENABLE_FLAPPER_HACKS
-
- Profile* profile_;
- scoped_refptr<URLRequestContextGetter> request_context_;
-};
-
#endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_MESSAGE_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698