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

Side by Side Diff: content/app/content_service_manager_main_delegate.h

Issue 2763883002: Revert of Move some basic early process init into Service Manager (Closed)
Patch Set: Created 3 years, 9 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_APP_CONTENT_SERVICE_MANAGER_MAIN_DELEGATE_H_
6 #define CONTENT_APP_CONTENT_SERVICE_MANAGER_MAIN_DELEGATE_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "build/build_config.h"
12 #include "content/public/app/content_main.h"
13 #include "services/service_manager/embedder/main_delegate.h"
14
15 namespace content {
16
17 class ContentMainRunner;
18
19 class ContentServiceManagerMainDelegate : public service_manager::MainDelegate {
20 public:
21 ContentServiceManagerMainDelegate(const ContentMainParams& params);
22 ~ContentServiceManagerMainDelegate() override;
23
24 // service_manager::MainDelegate:
25 int Initialize(const InitializeParams& params) override;
26 int Run() override;
27 void ShutDown() override;
28
29 private:
30 ContentMainParams content_main_params_;
31 std::unique_ptr<ContentMainRunner> content_main_runner_;
32
33 #if defined(OS_ANDROID)
34 bool initialized_ = false;
35 #endif
36
37 DISALLOW_COPY_AND_ASSIGN(ContentServiceManagerMainDelegate);
38 };
39
40 } // namespace content
41
42 #endif // CONTENT_APP_CONTENT_SERVICE_MANAGER_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/app/content_service_manager_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698