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

Unified Diff: mojo/public/cpp/application/application_impl.h

Issue 535543002: Remove ShellPtrWatcher details from public header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | mojo/public/cpp/application/lib/application_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/application_impl.h
diff --git a/mojo/public/cpp/application/application_impl.h b/mojo/public/cpp/application/application_impl.h
index e4d53c4ef35033a63ec20af1a3e27ee0d7646d75..809c3725bb7ccc8d972180129b99ca270dd22bce 100644
--- a/mojo/public/cpp/application/application_impl.h
+++ b/mojo/public/cpp/application/application_impl.h
@@ -70,15 +70,7 @@ class ApplicationImpl : public InterfaceImpl<Application> {
}
private:
- class ShellPtrWatcher : public ErrorHandler {
- public:
- explicit ShellPtrWatcher(ApplicationImpl* impl);
- virtual ~ShellPtrWatcher();
- virtual void OnConnectionError() MOJO_OVERRIDE;
- private:
- ApplicationImpl* impl_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(ShellPtrWatcher);
- };
+ class ShellPtrWatcher;
void BindShell(ScopedMessagePipeHandle shell_handle);
void ClearConnections();
@@ -99,7 +91,7 @@ class ApplicationImpl : public InterfaceImpl<Application> {
ServiceRegistryList outgoing_service_registries_;
ApplicationDelegate* delegate_;
ShellPtr shell_;
- ShellPtrWatcher shell_watch_;
+ ShellPtrWatcher* shell_watch_;
MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl);
};
« no previous file with comments | « no previous file | mojo/public/cpp/application/lib/application_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698