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

Side by Side Diff: chrome/browser/prerender/prerender_contents.h

Issue 1008913002: Remove RenderViewHost parameter from WebContentsObserver::Did{Start|Stop}Loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
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_PRERENDER_PRERENDER_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 base::TimeTicks load_start_time() const { return load_start_time_; } 188 base::TimeTicks load_start_time() const { return load_start_time_; }
189 189
190 // Indicates whether this prerendered page can be used for the provided 190 // Indicates whether this prerendered page can be used for the provided
191 // |url| and |session_storage_namespace|. 191 // |url| and |session_storage_namespace|.
192 bool Matches( 192 bool Matches(
193 const GURL& url, 193 const GURL& url,
194 const content::SessionStorageNamespace* session_storage_namespace) const; 194 const content::SessionStorageNamespace* session_storage_namespace) const;
195 195
196 // content::WebContentsObserver implementation. 196 // content::WebContentsObserver implementation.
197 void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override; 197 void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override;
198 void DidStopLoading(content::RenderViewHost* render_view_host) override; 198 void DidStopLoading() override;
199 void DocumentLoadedInFrame( 199 void DocumentLoadedInFrame(
200 content::RenderFrameHost* render_frame_host) override; 200 content::RenderFrameHost* render_frame_host) override;
201 void DidStartProvisionalLoadForFrame( 201 void DidStartProvisionalLoadForFrame(
202 content::RenderFrameHost* render_frame_host, 202 content::RenderFrameHost* render_frame_host,
203 const GURL& validated_url, 203 const GURL& validated_url,
204 bool is_error_page, 204 bool is_error_page,
205 bool is_iframe_srcdoc) override; 205 bool is_iframe_srcdoc) override;
206 void DidFinishLoad(content::RenderFrameHost* render_frame_host, 206 void DidFinishLoad(content::RenderFrameHost* render_frame_host,
207 const GURL& validated_url) override; 207 const GURL& validated_url) override;
208 void DidNavigateMainFrame( 208 void DidNavigateMainFrame(
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // A running tally of the number of bytes this prerender has caused to be 409 // A running tally of the number of bytes this prerender has caused to be
410 // transferred over the network for resources. Updated with AddNetworkBytes. 410 // transferred over the network for resources. Updated with AddNetworkBytes.
411 int64 network_bytes_; 411 int64 network_bytes_;
412 412
413 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 413 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
414 }; 414 };
415 415
416 } // namespace prerender 416 } // namespace prerender
417 417
418 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 418 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698