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

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

Issue 1857103003: Test ExistingThreadLoader. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test thread 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
« no previous file with comments | « no previous file | content/utility/utility_process_control_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/threading/thread.h"
9 #include "content/child/process_control_impl.h" 10 #include "content/child/process_control_impl.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 // Customization of ProcessControlImpl for the utility process. Exposed to the 14 // Customization of ProcessControlImpl for the utility process. Exposed to the
14 // browser via the utility process's ServiceRegistry. 15 // browser via the utility process's ServiceRegistry.
15 class UtilityProcessControlImpl : public ProcessControlImpl { 16 class UtilityProcessControlImpl : public ProcessControlImpl {
16 public: 17 public:
17 UtilityProcessControlImpl(); 18 UtilityProcessControlImpl();
18 ~UtilityProcessControlImpl() override; 19 ~UtilityProcessControlImpl() override;
19 20
20 // ProcessControlImpl: 21 // ProcessControlImpl:
21 void RegisterLoaders(NameToLoaderMap* name_to_loader_map) override; 22 void RegisterLoaders(NameToLoaderMap* name_to_loader_map) override;
22 23
23 private: 24 private:
24 void OnLoadFailed() override; 25 void OnLoadFailed() override;
25 26
27 base::Thread test_thread_;
28
26 DISALLOW_COPY_AND_ASSIGN(UtilityProcessControlImpl); 29 DISALLOW_COPY_AND_ASSIGN(UtilityProcessControlImpl);
27 }; 30 };
28 31
29 } // namespace content 32 } // namespace content
30 33
31 #endif // CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_ 34 #endif // CONTENT_UTILITY_UTILITY_PROCESS_CONTROL_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/utility/utility_process_control_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698