| Index: mojo/shell/profile_service_loader.cc | 
| diff --git a/mojo/shell/profile_service_loader.cc b/mojo/shell/profile_service_loader.cc | 
| index 741d2f21c479ca1f15b6e2fa7c02c81f7bcae232..e24e43c875d1474e62aee7f3e9b392dcf7f6ec0a 100644 | 
| --- a/mojo/shell/profile_service_loader.cc | 
| +++ b/mojo/shell/profile_service_loader.cc | 
| @@ -7,7 +7,6 @@ | 
| #include "mojo/public/cpp/application/application_connection.h" | 
| #include "mojo/public/cpp/application/application_delegate.h" | 
| #include "mojo/public/cpp/application/application_impl.h" | 
| -#include "mojo/services/profile/profile_service_impl.h" | 
|  | 
| namespace mojo { | 
| namespace shell { | 
| @@ -37,9 +36,17 @@ void ProfileServiceLoader::OnServiceError(ServiceManager* manager, | 
|  | 
| bool ProfileServiceLoader::ConfigureIncomingConnection( | 
| ApplicationConnection* connection) { | 
| -    connection->AddService<ProfileServiceImpl>(); | 
| +  connection->AddServiceFactory(this); | 
| return true; | 
| } | 
|  | 
| +void ProfileServiceLoader::Create(ApplicationConnection* connection, | 
| +                                  InterfaceRequest<ProfileService> request) { | 
| +  // We can bind all requests to the same ProfileServiceImpl since there is no | 
| +  // client for ProfileService. Since we're managing ownership of the impl | 
| +  // ourselves, we weakly bind to the pipe. | 
| +  mojo::WeakBindToRequest(&impl_, &request); | 
| +} | 
| + | 
| }  // namespace shell | 
| }  // namespace mojo | 
|  |