| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_ | 5 #ifndef CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_ | 
| 6 #define CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_ | 6 #define CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_ | 
| 7 | 7 | 
| 8 #include "base/macros.h" | 8 #include "base/macros.h" | 
| 9 #include "content/child/process_control_impl.h" | 9 #include "content/child/process_control_impl.h" | 
| 10 | 10 | 
| 11 namespace content { | 11 namespace content { | 
| 12 | 12 | 
| 13 // Customization of ProcessControlImpl for the utility process. Exposed to the | 13 // Customization of ProcessControlImpl for the utility process. Exposed to the | 
| 14 // browser via the utility process's ServiceRegistry. | 14 // browser via the utility process's InterfaceRegistry. | 
| 15 class UtilityProcessControlImpl : public ProcessControlImpl { | 15 class UtilityProcessControlImpl : public ProcessControlImpl { | 
| 16  public: | 16  public: | 
| 17   UtilityProcessControlImpl(); | 17   UtilityProcessControlImpl(); | 
| 18   ~UtilityProcessControlImpl() override; | 18   ~UtilityProcessControlImpl() override; | 
| 19 | 19 | 
| 20   // ProcessControlImpl: | 20   // ProcessControlImpl: | 
| 21   void RegisterApplications(ApplicationMap* apps) override; | 21   void RegisterApplications(ApplicationMap* apps) override; | 
| 22   void OnApplicationQuit() override; | 22   void OnApplicationQuit() override; | 
| 23 | 23 | 
| 24  private: | 24  private: | 
| 25   void OnLoadFailed() override; | 25   void OnLoadFailed() override; | 
| 26 | 26 | 
| 27   DISALLOW_COPY_AND_ASSIGN(UtilityProcessControlImpl); | 27   DISALLOW_COPY_AND_ASSIGN(UtilityProcessControlImpl); | 
| 28 }; | 28 }; | 
| 29 | 29 | 
| 30 }  // namespace content | 30 }  // namespace content | 
| 31 | 31 | 
| 32 #endif  // CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_ | 32 #endif  // CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_ | 
| OLD | NEW | 
|---|