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

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

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #include "content/browser/renderer_host/resource_dispatcher_host.h" 7 #include "content/browser/renderer_host/resource_dispatcher_host.h"
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 const content::ResourceContext& context) { 747 const content::ResourceContext& context) {
748 return new ResourceDispatcherHostRequestInfo(handler, 748 return new ResourceDispatcherHostRequestInfo(handler,
749 ChildProcessInfo::RENDER_PROCESS, 749 ChildProcessInfo::RENDER_PROCESS,
750 child_id, 750 child_id,
751 route_id, 751 route_id,
752 0, 752 0,
753 request_id_, 753 request_id_,
754 false, // is_main_frame 754 false, // is_main_frame
755 -1, // frame_id 755 -1, // frame_id
756 ResourceType::SUB_RESOURCE, 756 ResourceType::SUB_RESOURCE,
757 PageTransition::LINK, 757 content::PAGE_TRANSITION_LINK,
758 0, // upload_size 758 0, // upload_size
759 download, // is_download 759 download, // is_download
760 download, // allow_download 760 download, // allow_download
761 false, // has_user_gesture 761 false, // has_user_gesture
762 &context); 762 &context);
763 } 763 }
764 764
765 void ResourceDispatcherHost::OnSwapOutACK( 765 void ResourceDispatcherHost::OnSwapOutACK(
766 const ViewMsg_SwapOut_Params& params) { 766 const ViewMsg_SwapOut_Params& params) {
767 // Closes for cross-site transitions are handled such that the cross-site 767 // Closes for cross-site transitions are handled such that the cross-site
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
2149 return HTTP_AUTH_RESOURCE_BLOCKED_CROSS; 2149 return HTTP_AUTH_RESOURCE_BLOCKED_CROSS;
2150 } 2150 }
2151 2151
2152 bool ResourceDispatcherHost::allow_cross_origin_auth_prompt() { 2152 bool ResourceDispatcherHost::allow_cross_origin_auth_prompt() {
2153 return allow_cross_origin_auth_prompt_; 2153 return allow_cross_origin_auth_prompt_;
2154 } 2154 }
2155 2155
2156 void ResourceDispatcherHost::set_allow_cross_origin_auth_prompt(bool value) { 2156 void ResourceDispatcherHost::set_allow_cross_origin_auth_prompt(bool value) {
2157 allow_cross_origin_auth_prompt_ = value; 2157 allow_cross_origin_auth_prompt_ = value;
2158 } 2158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698