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

Side by Side Diff: chrome/browser/net/load_time_stats.h

Issue 11788015: When starting a provisional load, indicate whether the provisional URL is about:srcdoc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_NET_LOAD_TIME_STATS_H_ 5 #ifndef CHROME_BROWSER_NET_LOAD_TIME_STATS_H_
6 #define CHROME_BROWSER_NET_LOAD_TIME_STATS_H_ 6 #define CHROME_BROWSER_NET_LOAD_TIME_STATS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 public: 125 public:
126 virtual ~LoadTimeStatsTabHelper(); 126 virtual ~LoadTimeStatsTabHelper();
127 127
128 // content::WebContentsObserver implementation 128 // content::WebContentsObserver implementation
129 virtual void DidStartProvisionalLoadForFrame( 129 virtual void DidStartProvisionalLoadForFrame(
130 int64 frame_id, 130 int64 frame_id,
131 int64 parent_frame_id, 131 int64 parent_frame_id,
132 bool is_main_frame, 132 bool is_main_frame,
133 const GURL& validated_url, 133 const GURL& validated_url,
134 bool is_error_page, 134 bool is_error_page,
135 bool is_iframe_srcdoc,
135 content::RenderViewHost* render_view_host) OVERRIDE; 136 content::RenderViewHost* render_view_host) OVERRIDE;
136 virtual void DidStopLoading( 137 virtual void DidStopLoading(
137 content::RenderViewHost* render_view_host) OVERRIDE; 138 content::RenderViewHost* render_view_host) OVERRIDE;
138 139
139 private: 140 private:
140 explicit LoadTimeStatsTabHelper(content::WebContents* web_contents); 141 explicit LoadTimeStatsTabHelper(content::WebContents* web_contents);
141 friend class content::WebContentsUserData<LoadTimeStatsTabHelper>; 142 friend class content::WebContentsUserData<LoadTimeStatsTabHelper>;
142 143
143 // Calls into LoadTimeStats to notify that a reportable event has occurred 144 // Calls into LoadTimeStats to notify that a reportable event has occurred
144 // for the tab being observed. 145 // for the tab being observed.
145 void NotifyLoadTimeStats(LoadTimeStats::TabEvent event, 146 void NotifyLoadTimeStats(LoadTimeStats::TabEvent event,
146 content::RenderViewHost* render_view_host); 147 content::RenderViewHost* render_view_host);
147 148
148 bool is_otr_profile_; 149 bool is_otr_profile_;
149 150
150 DISALLOW_COPY_AND_ASSIGN(LoadTimeStatsTabHelper); 151 DISALLOW_COPY_AND_ASSIGN(LoadTimeStatsTabHelper);
151 }; 152 };
152 153
153 } // namespace chrome_browser_net 154 } // namespace chrome_browser_net
154 155
155 #endif // CHROME_BROWSER_NET_LOAD_TIME_STATS_H_ 156 #endif // CHROME_BROWSER_NET_LOAD_TIME_STATS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc ('k') | chrome/browser/net/load_time_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698