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

Side by Side Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
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 // 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/loader/resource_dispatcher_host_impl.h" 7 #include "content/browser/loader/resource_dispatcher_host_impl.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <set> 10 #include <set>
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 PROCESS_TYPE_RENDERER, 1329 PROCESS_TYPE_RENDERER,
1330 child_id, 1330 child_id,
1331 route_id, 1331 route_id,
1332 0, 1332 0,
1333 request_id_, 1333 request_id_,
1334 MSG_ROUTING_NONE, // render_frame_id 1334 MSG_ROUTING_NONE, // render_frame_id
1335 false, // is_main_frame 1335 false, // is_main_frame
1336 false, // parent_is_main_frame 1336 false, // parent_is_main_frame
1337 -1, // parent_render_frame_id 1337 -1, // parent_render_frame_id
1338 RESOURCE_TYPE_SUB_RESOURCE, 1338 RESOURCE_TYPE_SUB_RESOURCE,
1339 PAGE_TRANSITION_LINK, 1339 ui::PAGE_TRANSITION_LINK,
1340 false, // should_replace_current_entry 1340 false, // should_replace_current_entry
1341 download, // is_download 1341 download, // is_download
1342 false, // is_stream 1342 false, // is_stream
1343 download, // allow_download 1343 download, // allow_download
1344 false, // has_user_gesture 1344 false, // has_user_gesture
1345 false, // enable_load_timing 1345 false, // enable_load_timing
1346 blink::WebReferrerPolicyDefault, 1346 blink::WebReferrerPolicyDefault,
1347 blink::WebPageVisibilityStateVisible, 1347 blink::WebPageVisibilityStateVisible,
1348 context, 1348 context,
1349 base::WeakPtr<ResourceMessageFilter>(), // filter 1349 base::WeakPtr<ResourceMessageFilter>(), // filter
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
2049 2049
2050 // Add a flag to selectively bypass the data reduction proxy if the resource 2050 // Add a flag to selectively bypass the data reduction proxy if the resource
2051 // type is not an image. 2051 // type is not an image.
2052 if (request_data.resource_type != RESOURCE_TYPE_IMAGE) 2052 if (request_data.resource_type != RESOURCE_TYPE_IMAGE)
2053 load_flags |= net::LOAD_BYPASS_DATA_REDUCTION_PROXY; 2053 load_flags |= net::LOAD_BYPASS_DATA_REDUCTION_PROXY;
2054 2054
2055 return load_flags; 2055 return load_flags;
2056 } 2056 }
2057 2057
2058 } // namespace content 2058 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/cross_site_resource_handler.cc ('k') | content/browser/loader/resource_dispatcher_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698