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

Unified Diff: chrome/renderer/render_thread.cc

Issue 6628035: Move resource related IPCs to their own file in 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
« no previous file with comments | « chrome/common/resource_response.cc ('k') | chrome/renderer/safe_browsing/render_view_fake_resources_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 77019)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -38,13 +38,6 @@
#include "chrome/common/url_constants.h"
#include "chrome/common/web_database_observer_impl.h"
#include "chrome/plugin/npobject_util.h"
-// TODO(port)
-#if defined(OS_WIN)
-#include "chrome/plugin/plugin_channel.h"
-#else
-#include "base/scoped_handle.h"
-#include "chrome/plugin/plugin_channel_base.h"
-#endif
#include "chrome/renderer/automation/dom_automation_v8_extension.h"
#include "chrome/renderer/cookie_message_filter.h"
#include "chrome/renderer/devtools_agent_filter.h"
@@ -72,8 +65,8 @@
#include "chrome/renderer/searchbox_extension.h"
#include "chrome/renderer/spellchecker/spellcheck.h"
#include "chrome/renderer/user_script_slave.h"
+#include "content/common/resource_messages.h"
#include "ipc/ipc_channel_handle.h"
-#include "ipc/ipc_message.h"
#include "ipc/ipc_platform_file.h"
#include "net/base/net_util.h"
#include "third_party/sqlite/sqlite3.h"
@@ -98,7 +91,15 @@
#include "webkit/glue/webkit_glue.h"
#include "v8/include/v8.h"
+// TODO(port)
#if defined(OS_WIN)
+#include "chrome/plugin/plugin_channel.h"
+#else
+#include "base/scoped_handle.h"
+#include "chrome/plugin/plugin_channel_base.h"
+#endif
+
+#if defined(OS_WIN)
#include <windows.h>
#include <objbase.h>
#endif
@@ -354,7 +355,7 @@
case ViewHostMsg_GetRawCookies::ID:
case ViewHostMsg_CookiesEnabled::ID:
case DOMStorageHostMsg_SetItem::ID:
- case ViewHostMsg_SyncLoad::ID:
+ case ResourceHostMsg_SyncLoad::ID:
case DatabaseHostMsg_Allow::ID:
may_show_cookie_prompt = true;
pumping_events = true;
« no previous file with comments | « chrome/common/resource_response.cc ('k') | chrome/renderer/safe_browsing/render_view_fake_resources_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698