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

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

Issue 2803633004: Revert of Keep track in the browser of which frames have onunload and onbeforeunload handlers. (Closed)
Patch Set: Created 3 years, 8 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 <memory> 8 #include <memory>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h"
14 #include "content/browser/frame_host/navigation_entry_impl.h" 13 #include "content/browser/frame_host/navigation_entry_impl.h"
15 #include "content/browser/loader/navigation_url_loader_delegate.h" 14 #include "content/browser/loader/navigation_url_loader_delegate.h"
16 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
17 #include "content/common/frame_message_enums.h" 16 #include "content/common/frame_message_enums.h"
18 #include "content/common/navigation_params.h" 17 #include "content/common/navigation_params.h"
19 #include "content/public/browser/navigation_throttle.h" 18 #include "content/public/browser/navigation_throttle.h"
20 #include "content/public/common/previews_state.h" 19 #include "content/public/common/previews_state.h"
21 20
22 namespace content { 21 namespace content {
23 22
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 248
250 std::unique_ptr<NavigationHandleImpl> navigation_handle_; 249 std::unique_ptr<NavigationHandleImpl> navigation_handle_;
251 250
252 // Holds the ResourceResponse and the StreamHandle for the navigation while 251 // Holds the ResourceResponse and the StreamHandle for the navigation while
253 // the WillProcessResponse checks are performed by the NavigationHandle. 252 // the WillProcessResponse checks are performed by the NavigationHandle.
254 scoped_refptr<ResourceResponse> response_; 253 scoped_refptr<ResourceResponse> response_;
255 std::unique_ptr<StreamHandle> body_; 254 std::unique_ptr<StreamHandle> body_;
256 255
257 base::Closure on_start_checks_complete_closure_; 256 base::Closure on_start_checks_complete_closure_;
258 257
259 base::WeakPtrFactory<NavigationRequest> weak_factory_;
260
261 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); 258 DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
262 }; 259 };
263 260
264 } // namespace content 261 } // namespace content
265 262
266 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 263 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/devtools_protocol_browsertest.cc ('k') | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698