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

Side by Side Diff: content/common/navigation_params.cc

Issue 2969463003: Move resource_request.h to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/common/navigation_params.h" 5 #include "content/common/navigation_params.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/service_worker/service_worker_types.h" 9 #include "content/common/service_worker/service_worker_types.h"
10 #include "content/public/common/appcache_info.h" 10 #include "content/public/common/appcache_info.h"
11 #include "content/public/common/browser_side_navigation_policy.h" 11 #include "content/public/common/browser_side_navigation_policy.h"
12 #include "content/public/common/service_worker_modes.h"
12 #include "content/public/common/url_constants.h" 13 #include "content/public/common/url_constants.h"
13 #include "url/gurl.h" 14 #include "url/gurl.h"
14 #include "url/url_constants.h" 15 #include "url/url_constants.h"
15 #include "url/url_util.h" 16 #include "url/url_util.h"
16 17
17 namespace content { 18 namespace content {
18 19
19 // PlzNavigate 20 // PlzNavigate
20 bool ShouldMakeNetworkRequestForURL(const GURL& url) { 21 bool ShouldMakeNetworkRequestForURL(const GURL& url) {
21 CHECK(IsBrowserSideNavigationEnabled()); 22 CHECK(IsBrowserSideNavigationEnabled());
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 const RequestNavigationParams& request_params) 231 const RequestNavigationParams& request_params)
231 : common_params(common_params), 232 : common_params(common_params),
232 start_params(start_params), 233 start_params(start_params),
233 request_params(request_params) { 234 request_params(request_params) {
234 } 235 }
235 236
236 NavigationParams::~NavigationParams() { 237 NavigationParams::~NavigationParams() {
237 } 238 }
238 239
239 } // namespace content 240 } // namespace content
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698