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

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

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_THREAD_IMPL_H_ 5 #ifndef CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_
6 #define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ 6 #define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 private: 49 private:
50 void Init(); 50 void Init();
51 51
52 // ChildThread implementation. 52 // ChildThread implementation.
53 bool OnControlMessageReceived(const IPC::Message& msg) override; 53 bool OnControlMessageReceived(const IPC::Message& msg) override;
54 54
55 // IPC message handlers. 55 // IPC message handlers.
56 void OnBatchModeStarted(); 56 void OnBatchModeStarted();
57 void OnBatchModeFinished(); 57 void OnBatchModeFinished();
58 58
59 void BindServiceFactoryRequest(shell::mojom::ServiceFactoryRequest request); 59 void BindServiceFactoryRequest(
60 service_manager::mojom::ServiceFactoryRequest request);
60 61
61 // True when we're running in batch mode. 62 // True when we're running in batch mode.
62 bool batch_mode_; 63 bool batch_mode_;
63 64
64 std::unique_ptr<UtilityBlinkPlatformImpl> blink_platform_impl_; 65 std::unique_ptr<UtilityBlinkPlatformImpl> blink_platform_impl_;
65 66
66 // shell::mojom::ServiceFactory for shell::Service hosting. 67 // service_manager::mojom::ServiceFactory for service_manager::Service
68 // hosting.
67 std::unique_ptr<UtilityServiceFactory> service_factory_; 69 std::unique_ptr<UtilityServiceFactory> service_factory_;
68 70
69 // Bindings to the shell::mojom::ServiceFactory impl. 71 // Bindings to the service_manager::mojom::ServiceFactory impl.
70 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; 72 mojo::BindingSet<service_manager::mojom::ServiceFactory>
73 service_factory_bindings_;
71 74
72 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); 75 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl);
73 }; 76 };
74 77
75 #if defined(COMPILER_MSVC) 78 #if defined(COMPILER_MSVC)
76 #pragma warning(pop) 79 #pragma warning(pop)
77 #endif 80 #endif
78 81
79 } // namespace content 82 } // namespace content
80 83
81 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ 84 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/shell/utility/shell_content_utility_client.cc ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698