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

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

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

Powered by Google App Engine
This is Rietveld 408576698