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

Side by Side Diff: chrome/browser/tracing/navigation_tracing.cc

Issue 2494633004: Remove about:srcdoc url conversion. (Closed)
Patch Set: Rebase Created 4 years 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 #include "chrome/browser/tracing/navigation_tracing.h" 5 #include "chrome/browser/tracing/navigation_tracing.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 kNavigationTracingConfig); 107 kNavigationTracingConfig);
108 } 108 }
109 } 109 }
110 110
111 NavigationTracingObserver::~NavigationTracingObserver() { 111 NavigationTracingObserver::~NavigationTracingObserver() {
112 } 112 }
113 113
114 void NavigationTracingObserver::DidStartProvisionalLoadForFrame( 114 void NavigationTracingObserver::DidStartProvisionalLoadForFrame(
115 content::RenderFrameHost* render_frame_host, 115 content::RenderFrameHost* render_frame_host,
116 const GURL& validated_url, 116 const GURL& validated_url,
117 bool is_error_page, 117 bool is_error_page) {
118 bool is_iframe_srcdoc) {
119 if (!render_frame_host->GetParent() && !is_error_page) { 118 if (!render_frame_host->GetParent() && !is_error_page) {
120 content::BackgroundTracingManager::GetInstance()->TriggerNamedEvent( 119 content::BackgroundTracingManager::GetInstance()->TriggerNamedEvent(
121 navigation_handle, 120 navigation_handle,
122 content::BackgroundTracingManager::StartedFinalizingCallback()); 121 content::BackgroundTracingManager::StartedFinalizingCallback());
123 } 122 }
124 } 123 }
125 124
126 content::BackgroundTracingManager::TriggerHandle 125 content::BackgroundTracingManager::TriggerHandle
127 NavigationTracingObserver::navigation_handle = -1; 126 NavigationTracingObserver::navigation_handle = -1;
128 127
129 } // namespace tracing 128 } // namespace tracing
OLDNEW
« no previous file with comments | « chrome/browser/tracing/navigation_tracing.h ('k') | chrome/browser/ui/search/search_tab_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698