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

Side by Side Diff: content/utility/utility_process_control_impl.h

Issue 1889253002: Remove uses of shell::Loader from content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
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 ServiceRegistry.
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 RegisterLoaders(NameToLoaderMap* name_to_loader_map) override; 21 void RegisterApplicationFactories(ApplicationFactoryMap* factories) override;
22 void OnApplicationQuit() override;
22 23
23 private: 24 private:
24 void OnLoadFailed() override; 25 void OnLoadFailed() override;
25 26
26 DISALLOW_COPY_AND_ASSIGN(UtilityProcessControlImpl); 27 DISALLOW_COPY_AND_ASSIGN(UtilityProcessControlImpl);
27 }; 28 };
28 29
29 } // namespace content 30 } // namespace content
30 31
31 #endif // CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_ 32 #endif // CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_
OLDNEW
« no previous file with comments | « content/test/data/web_ui_mojo_shell_test.js ('k') | content/utility/utility_process_control_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698