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

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

Issue 2973433003: Block redirects to renderer-debug urls. (Closed)
Patch Set: Addressed comment (@clamy) 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_HANDLE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
7 7
8 #include "content/public/browser/navigation_handle.h" 8 #include "content/public/browser/navigation_handle.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 // PlzNavigate 583 // PlzNavigate
584 // Information about the JavaScript that started the navigation. For 584 // Information about the JavaScript that started the navigation. For
585 // navigations initiated by Javascript. 585 // navigations initiated by Javascript.
586 SourceLocation source_location_; 586 SourceLocation source_location_;
587 587
588 // PlzNavigate 588 // PlzNavigate
589 // Used to inform a RenderProcessHost that we expect this navigation to commit 589 // Used to inform a RenderProcessHost that we expect this navigation to commit
590 // in it. 590 // in it.
591 int expected_render_process_host_id_; 591 int expected_render_process_host_id_;
592 592
593 // TODO(arthursonzogni): Remove this when we understand the root cause behind
594 // crbug.com/704892.
595 bool is_in_constructor;
596
597 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 593 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
598 594
599 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 595 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
600 }; 596 };
601 597
602 } // namespace content 598 } // namespace content
603 599
604 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 600 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/child_process_security_policy_unittest.cc ('k') | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698