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

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

Issue 2266653002: Previews infobar tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddUMA
Patch Set: bengr comments Created 4 years, 3 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>
11 #include <string>
11 12
12 #include "base/callback.h" 13 #include "base/callback.h"
13 #include "base/macros.h" 14 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
16 #include "content/browser/frame_host/frame_tree_node.h" 17 #include "content/browser/frame_host/frame_tree_node.h"
17 #include "content/browser/frame_host/render_frame_host_impl.h" 18 #include "content/browser/frame_host/render_frame_host_impl.h"
18 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
19 #include "content/public/browser/navigation_data.h" 20 #include "content/public/browser/navigation_data.h"
20 #include "content/public/browser/navigation_throttle.h" 21 #include "content/public/browser/navigation_throttle.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const Referrer& sanitized_referrer, 111 const Referrer& sanitized_referrer,
111 bool has_user_gesture, 112 bool has_user_gesture,
112 ui::PageTransition transition, 113 ui::PageTransition transition,
113 bool is_external_protocol) override; 114 bool is_external_protocol) override;
114 NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting( 115 NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting(
115 const GURL& new_url, 116 const GURL& new_url,
116 bool new_method_is_post, 117 bool new_method_is_post,
117 const GURL& new_referrer_url, 118 const GURL& new_referrer_url,
118 bool new_is_external_protocol) override; 119 bool new_is_external_protocol) override;
119 NavigationThrottle::ThrottleCheckResult CallWillProcessResponseForTesting( 120 NavigationThrottle::ThrottleCheckResult CallWillProcessResponseForTesting(
120 RenderFrameHost* render_frame_host) override; 121 RenderFrameHost* render_frame_host,
122 const std::string& raw_response_header) override;
123 void CallDidCommitNavigationForTesting(const GURL& url) override;
121 124
122 NavigationData* GetNavigationData() override; 125 NavigationData* GetNavigationData() override;
123 126
124 NavigatorDelegate* GetDelegate() const; 127 NavigatorDelegate* GetDelegate() const;
125 128
126 RequestContextType GetRequestContextType() const; 129 RequestContextType GetRequestContextType() const;
127 130
128 // Get the unique id from the NavigationEntry associated with this 131 // Get the unique id from the NavigationEntry associated with this
129 // NavigationHandle. Note that a synchronous, renderer-initiated navigation 132 // NavigationHandle. Note that a synchronous, renderer-initiated navigation
130 // will not have a NavigationEntry associated with it, and this will return 0. 133 // will not have a NavigationEntry associated with it, and this will return 0.
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 std::unique_ptr<NavigationData> navigation_data_; 327 std::unique_ptr<NavigationData> navigation_data_;
325 328
326 SSLStatus ssl_status_; 329 SSLStatus ssl_status_;
327 330
328 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 331 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
329 }; 332 };
330 333
331 } // namespace content 334 } // namespace content
332 335
333 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 336 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698