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

Side by Side Diff: content/public/browser/navigation_handle.h

Issue 2696493003: Introduce SubframeNavigationFilteringThrottle (Closed)
Patch Set: fix test names Created 3 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 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_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 RenderFrameHost* render_frame_host, 271 RenderFrameHost* render_frame_host,
272 const std::string& raw_response_headers) = 0; 272 const std::string& raw_response_headers) = 0;
273 273
274 // Simulates the navigation being committed. 274 // Simulates the navigation being committed.
275 virtual void CallDidCommitNavigationForTesting(const GURL& url) = 0; 275 virtual void CallDidCommitNavigationForTesting(const GURL& url) = 0;
276 276
277 // The NavigationData that the embedder returned from 277 // The NavigationData that the embedder returned from
278 // ResourceDispatcherHostDelegate::GetNavigationData during commit. This will 278 // ResourceDispatcherHostDelegate::GetNavigationData during commit. This will
279 // be a clone of the NavigationData. 279 // be a clone of the NavigationData.
280 virtual NavigationData* GetNavigationData() = 0; 280 virtual NavigationData* GetNavigationData() = 0;
281
282 // This method is designed to be used for the Call*ForTesting methods, where
283 // the decision to cancel is deferred and calculated asynchronously. In those
284 // cases, this method will return true once CancelDeferredNavigation is
285 // called.
286 virtual bool IsCancellingForTesting() = 0;
281 }; 287 };
282 288
283 } // namespace content 289 } // namespace content
284 290
285 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ 291 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698