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

Side by Side Diff: content/browser/frame_host/navigation_request.h

Issue 914223002: PlzNavigate: Updated navigation cancel policy for renderer-initiated requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Two comment changes Created 5 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 unified diff | Download patch
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 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ~NavigationRequest() override; 71 ~NavigationRequest() override;
72 72
73 // Called on the UI thread by the Navigator to start the navigation on the IO 73 // Called on the UI thread by the Navigator to start the navigation on the IO
74 // thread. 74 // thread.
75 // TODO(clamy): see if ResourceRequestBody could be un-refcounted to avoid 75 // TODO(clamy): see if ResourceRequestBody could be un-refcounted to avoid
76 // threading subtleties. 76 // threading subtleties.
77 void BeginNavigation(); 77 void BeginNavigation();
78 78
79 const CommonNavigationParams& common_params() const { return common_params_; } 79 const CommonNavigationParams& common_params() const { return common_params_; }
80 80
81 const BeginNavigationParams& begin_params() const { return begin_params_; }
82
81 const CommitNavigationParams& commit_params() const { return commit_params_; } 83 const CommitNavigationParams& commit_params() const { return commit_params_; }
82 84
83 NavigationURLLoader* loader_for_testing() const { return loader_.get(); } 85 NavigationURLLoader* loader_for_testing() const { return loader_.get(); }
84 86
85 NavigationState state() const { return state_; } 87 NavigationState state() const { return state_; }
86 88
87 SiteInstanceImpl* source_site_instance() const { 89 SiteInstanceImpl* source_site_instance() const {
88 return source_site_instance_.get(); 90 return source_site_instance_.get();
89 } 91 }
90 92
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 NavigationEntryImpl::RestoreType restore_type_; 156 NavigationEntryImpl::RestoreType restore_type_;
155 bool is_view_source_; 157 bool is_view_source_;
156 int bindings_; 158 int bindings_;
157 159
158 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); 160 DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
159 }; 161 };
160 162
161 } // namespace content 163 } // namespace content
162 164
163 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 165 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl.cc » ('j') | content/browser/frame_host/navigator_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698