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

Side by Side Diff: content/browser/renderer_host/cross_site_resource_handler.cc

Issue 10441019: Move render_view_host_delegate.h out of content/public. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 6
7 #include "content/browser/renderer_host/cross_site_resource_handler.h" 7 #include "content/browser/renderer_host/cross_site_resource_handler.h"
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "content/browser/renderer_host/render_view_host_delegate.h"
11 #include "content/browser/renderer_host/render_view_host_impl.h" 12 #include "content/browser/renderer_host/render_view_host_impl.h"
12 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" 13 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h"
13 #include "content/browser/renderer_host/resource_request_info_impl.h" 14 #include "content/browser/renderer_host/resource_request_info_impl.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/global_request_id.h" 16 #include "content/public/browser/global_request_id.h"
16 #include "content/public/browser/render_view_host_delegate.h"
17 #include "content/public/common/resource_response.h" 17 #include "content/public/common/resource_response.h"
18 #include "net/base/io_buffer.h" 18 #include "net/base/io_buffer.h"
19 #include "net/http/http_response_headers.h" 19 #include "net/http/http_response_headers.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 namespace { 23 namespace {
24 24
25 void OnCrossSiteResponseHelper(int render_process_id, 25 void OnCrossSiteResponseHelper(int render_process_id,
26 int render_view_id, 26 int render_view_id,
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 &OnCrossSiteResponseHelper, 234 &OnCrossSiteResponseHelper,
235 render_process_host_id_, 235 render_process_host_id_,
236 render_view_id_, 236 render_view_id_,
237 request_id)); 237 request_id));
238 238
239 // TODO(creis): If the above call should fail, then we need to notify the IO 239 // TODO(creis): If the above call should fail, then we need to notify the IO
240 // thread to proceed anyway, using ResourceDispatcherHost::OnClosePageACK. 240 // thread to proceed anyway, using ResourceDispatcherHost::OnClosePageACK.
241 } 241 }
242 242
243 } // namespace content 243 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698