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

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

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 years, 5 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_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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 bool is_iframe_srcdoc, 224 bool is_iframe_srcdoc,
225 content::RenderViewHost* render_view_host) OVERRIDE; 225 content::RenderViewHost* render_view_host) OVERRIDE;
226 virtual void DidFinishLoad( 226 virtual void DidFinishLoad(
227 int64 frame_id, 227 int64 frame_id,
228 const GURL& validated_url, 228 const GURL& validated_url,
229 bool is_main_frame, 229 bool is_main_frame,
230 content::RenderViewHost* render_view_host) OVERRIDE; 230 content::RenderViewHost* render_view_host) OVERRIDE;
231 virtual void DidUpdateFaviconURL(int32 page_id, 231 virtual void DidUpdateFaviconURL(int32 page_id,
232 const std::vector<content::FaviconURL>& urls) OVERRIDE; 232 const std::vector<content::FaviconURL>& urls) OVERRIDE;
233 233
234 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 234 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
235 235
236 // content::NotificationObserver 236 // content::NotificationObserver
237 virtual void Observe(int type, 237 virtual void Observe(int type,
238 const content::NotificationSource& source, 238 const content::NotificationSource& source,
239 const content::NotificationDetails& details) OVERRIDE; 239 const content::NotificationDetails& details) OVERRIDE;
240 240
241 // Adds an alias URL, for one of the many redirections. If the URL can not 241 // Adds an alias URL, for one of the many redirections. If the URL can not
242 // be prerendered - for example, it's an ftp URL - |this| will be destroyed 242 // be prerendered - for example, it's an ftp URL - |this| will be destroyed
243 // and false is returned. Otherwise, true is returned and the alias is 243 // and false is returned. Otherwise, true is returned and the alias is
244 // remembered. 244 // remembered.
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 420
421 // Caches pages to be added to the history. 421 // Caches pages to be added to the history.
422 AddPageVector add_page_vector_; 422 AddPageVector add_page_vector_;
423 423
424 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 424 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
425 }; 425 };
426 426
427 } // namespace prerender 427 } // namespace prerender
428 428
429 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 429 #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