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

Side by Side Diff: services/service_manager/standalone/context.h

Issue 2852183002: Delete the tracing service (Closed)
Patch Set: Created 3 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 SERVICES_SERVICE_MANAGER_STANDALONE_CONTEXT_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_STANDALONE_CONTEXT_H_
6 #define SERVICES_SERVICE_MANAGER_STANDALONE_CONTEXT_H_ 6 #define SERVICES_SERVICE_MANAGER_STANDALONE_CONTEXT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "services/service_manager/runner/host/service_process_launcher.h" 14 #include "services/service_manager/runner/host/service_process_launcher.h"
15 #include "services/service_manager/standalone/tracer.h"
16 #include "services/tracing/public/cpp/provider.h"
17 15
18 namespace base { 16 namespace base {
19 class SequencedWorkerPool; 17 class SequencedWorkerPool;
20 class Value; 18 class Value;
21 } 19 }
22 20
23 namespace catalog { 21 namespace catalog {
24 class Catalog; 22 class Catalog;
25 } 23 }
26 24
(...skipping 14 matching lines...) Expand all
41 void RunCommandLineApplication(); 39 void RunCommandLineApplication();
42 40
43 ServiceManager* service_manager() { return service_manager_.get(); } 41 ServiceManager* service_manager() { return service_manager_.get(); }
44 42
45 private: 43 private:
46 // Runs the app specified by |name|. 44 // Runs the app specified by |name|.
47 void Run(const std::string& name); 45 void Run(const std::string& name);
48 46
49 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 47 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
50 48
51 Tracer tracer_;
52 tracing::Provider provider_;
53 std::unique_ptr<catalog::Catalog> catalog_; 49 std::unique_ptr<catalog::Catalog> catalog_;
54 std::unique_ptr<ServiceManager> service_manager_; 50 std::unique_ptr<ServiceManager> service_manager_;
55 base::Time main_entry_time_; 51 base::Time main_entry_time_;
56 52
57 DISALLOW_COPY_AND_ASSIGN(Context); 53 DISALLOW_COPY_AND_ASSIGN(Context);
58 }; 54 };
59 55
60 } // namespace service_manager 56 } // namespace service_manager
61 57
62 #endif // SERVICES_SERVICE_MANAGER_STANDALONE_CONTEXT_H_ 58 #endif // SERVICES_SERVICE_MANAGER_STANDALONE_CONTEXT_H_
OLDNEW
« no previous file with comments | « services/service_manager/standalone/DEPS ('k') | services/service_manager/standalone/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698