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

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

Issue 2613653003: 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/common/content_export.h"
13 #include "content/public/app/content_main.h"
14 #include "services/service_manager/embedder/main_delegate.h"
15
16 namespace content {
17
18 class ContentMainRunner;
19
20 class CONTENT_EXPORT ContentServiceManagerMainDelegate
jam 2017/03/20 22:23:45 are you sure the export is needed? I don't think i
Ken Rockot(use gerrit already) 2017/03/20 22:57:31 Shouldn't be, removed
21 : public service_manager::MainDelegate {
22 public:
23 ContentServiceManagerMainDelegate(const ContentMainParams& params);
24 ~ContentServiceManagerMainDelegate() override;
25
26 // service_manager::MainDelegate:
27 int Initialize(const InitializeParams& params) override;
28 int Run() override;
29 void ShutDown() override;
30
31 private:
32 ContentMainParams content_main_params_;
33 std::unique_ptr<ContentMainRunner> content_main_runner_;
34
35 #if defined(OS_ANDROID)
36 bool initialized_ = false;
37 #endif
38
39 DISALLOW_COPY_AND_ASSIGN(ContentServiceManagerMainDelegate);
40 };
41
42 } // namespace content
43
44 #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