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

Side by Side Diff: chrome/browser/ui/android/external_protocol_dialog_android.cc

Issue 2745033002: Fix LoadDataWithBaseUrlTest#testloadDataWithBaseUrlCallsOnPageStarted with PlzNavigate. (Closed)
Patch Set: fix unittest Created 3 years, 9 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
« no previous file with comments | « no previous file | components/navigation_interception/intercept_navigation_throttle.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/external_protocol/external_protocol_handler.h" 5 #include "chrome/browser/external_protocol/external_protocol_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/external_protocol/external_protocol_handler.h" 8 #include "chrome/browser/external_protocol/external_protocol_handler.h"
9 #include "chrome/browser/tab_contents/tab_util.h" 9 #include "chrome/browser/tab_contents/tab_util.h"
10 #include "components/navigation_interception/intercept_navigation_delegate.h" 10 #include "components/navigation_interception/intercept_navigation_delegate.h"
(...skipping 21 matching lines...) Expand all
32 return; 32 return;
33 33
34 navigation_interception::NavigationParams navigation_params( 34 navigation_interception::NavigationParams navigation_params(
35 url, 35 url,
36 content::Referrer(), 36 content::Referrer(),
37 has_user_gesture, // has_user_gesture 37 has_user_gesture, // has_user_gesture
38 false, // is_post, doesn't matter here. 38 false, // is_post, doesn't matter here.
39 page_transition, 39 page_transition,
40 false, // is_redirect, doesn't matter here. 40 false, // is_redirect, doesn't matter here.
41 true, // is_external_protocol 41 true, // is_external_protocol
42 false); // is_main_frame 42 false, // is_main_frame
43 GURL()); // base_url_for_data_url, not applicable.
43 delegate->ShouldIgnoreNavigation(navigation_params); 44 delegate->ShouldIgnoreNavigation(navigation_params);
44 } 45 }
OLDNEW
« no previous file with comments | « no previous file | components/navigation_interception/intercept_navigation_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698