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

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

Issue 2973433003: Block redirects to renderer-debug urls. (Closed)
Patch Set: Nit: Charlie Harrison 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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 // PlzNavigate 580 // PlzNavigate
581 // Information about the JavaScript that started the navigation. For 581 // Information about the JavaScript that started the navigation. For
582 // navigations initiated by Javascript. 582 // navigations initiated by Javascript.
583 SourceLocation source_location_; 583 SourceLocation source_location_;
584 584
585 // PlzNavigate 585 // PlzNavigate
586 // Used to inform a RenderProcessHost that we expect this navigation to commit 586 // Used to inform a RenderProcessHost that we expect this navigation to commit
587 // in it. 587 // in it.
588 int expected_render_process_host_id_; 588 int expected_render_process_host_id_;
589 589
590 // TODO(arthursonzogni): Remove this when we understand the root cause behind
591 // crbug.com/704892.
592 bool is_in_constructor;
593
594 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 590 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
595 591
596 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 592 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
597 }; 593 };
598 594
599 } // namespace content 595 } // namespace content
600 596
601 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 597 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698