| OLD | NEW |
| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 const content::SessionStorageNamespace* session_storage_namespace) const; | 163 const content::SessionStorageNamespace* session_storage_namespace) const; |
| 164 | 164 |
| 165 // content::WebContentsObserver implementation. | 165 // content::WebContentsObserver implementation. |
| 166 void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override; | 166 void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override; |
| 167 void DidStopLoading() override; | 167 void DidStopLoading() override; |
| 168 void DocumentLoadedInFrame( | 168 void DocumentLoadedInFrame( |
| 169 content::RenderFrameHost* render_frame_host) override; | 169 content::RenderFrameHost* render_frame_host) override; |
| 170 void DidStartProvisionalLoadForFrame( | 170 void DidStartProvisionalLoadForFrame( |
| 171 content::RenderFrameHost* render_frame_host, | 171 content::RenderFrameHost* render_frame_host, |
| 172 const GURL& validated_url, | 172 const GURL& validated_url, |
| 173 bool is_error_page, | 173 bool is_error_page) override; |
| 174 bool is_iframe_srcdoc) override; | |
| 175 void DidFinishLoad(content::RenderFrameHost* render_frame_host, | 174 void DidFinishLoad(content::RenderFrameHost* render_frame_host, |
| 176 const GURL& validated_url) override; | 175 const GURL& validated_url) override; |
| 177 void DidNavigateMainFrame( | 176 void DidNavigateMainFrame( |
| 178 const content::LoadCommittedDetails& details, | 177 const content::LoadCommittedDetails& details, |
| 179 const content::FrameNavigateParams& params) override; | 178 const content::FrameNavigateParams& params) override; |
| 180 void DidGetRedirectForResourceRequest( | 179 void DidGetRedirectForResourceRequest( |
| 181 const content::ResourceRedirectDetails& details) override; | 180 const content::ResourceRedirectDetails& details) override; |
| 182 bool OnMessageReceived(const IPC::Message& message) override; | 181 bool OnMessageReceived(const IPC::Message& message) override; |
| 183 | 182 |
| 184 void RenderProcessGone(base::TerminationStatus status) override; | 183 void RenderProcessGone(base::TerminationStatus status) override; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 // A running tally of the number of bytes this prerender has caused to be | 365 // A running tally of the number of bytes this prerender has caused to be |
| 367 // transferred over the network for resources. Updated with AddNetworkBytes. | 366 // transferred over the network for resources. Updated with AddNetworkBytes. |
| 368 int64_t network_bytes_; | 367 int64_t network_bytes_; |
| 369 | 368 |
| 370 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 369 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
| 371 }; | 370 }; |
| 372 | 371 |
| 373 } // namespace prerender | 372 } // namespace prerender |
| 374 | 373 |
| 375 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 374 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
| OLD | NEW |