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

Unified Diff: content/renderer/render_thread_impl.h

Issue 1226253005: Convert mojo::ErrorHandler usages into callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add lwchkg@gmail.com to AUTHORS file Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index a6343d1f31883197324416dae3a3b223ef2561fc..bd90d44fb74f39ff69604fd1f38d4c474a12a67c 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -611,8 +611,7 @@ class CONTENT_EXPORT RenderThreadImpl
bool is_gather_pixel_refs_enabled_;
class PendingRenderFrameConnect
- : public base::RefCounted<PendingRenderFrameConnect>,
- public mojo::ErrorHandler {
+ : public base::RefCounted<PendingRenderFrameConnect> {
public:
PendingRenderFrameConnect(
int routing_id,
@@ -628,9 +627,10 @@ class CONTENT_EXPORT RenderThreadImpl
private:
friend class base::RefCounted<PendingRenderFrameConnect>;
- ~PendingRenderFrameConnect() override;
+ ~PendingRenderFrameConnect();
- void OnConnectionError() override;
+ // Mojo error handler.
+ void OnConnectionError();
int routing_id_;
mojo::InterfaceRequest<mojo::ServiceProvider> services_;
« no previous file with comments | « AUTHORS ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698