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

Side by Side Diff: content/browser/browser_main_loop.h

Issue 2833873003: WIP: The tracing service prototype
Patch Set: sync 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/browser_main_loop.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 (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_BROWSER_BROWSER_MAIN_LOOP_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "content/browser/browser_process_sub_thread.h" 15 #include "content/browser/browser_process_sub_thread.h"
16 #include "content/public/browser/browser_main_runner.h" 16 #include "content/public/browser/browser_main_runner.h"
17 #include "content/public/common/service_names.mojom.h"
17 #include "media/audio/audio_manager.h" 18 #include "media/audio/audio_manager.h"
18 #include "services/resource_coordinator/memory/coordinator/coordinator_impl.h" 19 #include "services/resource_coordinator/memory/coordinator/coordinator_impl.h"
20 #include "services/resource_coordinator/tracing/coordinator_impl.h"
19 21
20 #if defined(USE_AURA) 22 #if defined(USE_AURA)
21 namespace aura { 23 namespace aura {
22 class Env; 24 class Env;
23 } 25 }
24 #endif 26 #endif
25 27
26 namespace base { 28 namespace base {
27 class CommandLine; 29 class CommandLine;
28 class FilePath; 30 class FilePath;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 std::unique_ptr<gfx::ClientNativePixmapFactory> client_native_pixmap_factory_; 311 std::unique_ptr<gfx::ClientNativePixmapFactory> client_native_pixmap_factory_;
310 #endif 312 #endif
311 313
312 std::unique_ptr<LoaderDelegateImpl> loader_delegate_; 314 std::unique_ptr<LoaderDelegateImpl> loader_delegate_;
313 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; 315 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_;
314 std::unique_ptr<MediaStreamManager> media_stream_manager_; 316 std::unique_ptr<MediaStreamManager> media_stream_manager_;
315 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; 317 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_;
316 std::unique_ptr<discardable_memory::DiscardableSharedMemoryManager> 318 std::unique_ptr<discardable_memory::DiscardableSharedMemoryManager>
317 discardable_shared_memory_manager_; 319 discardable_shared_memory_manager_;
318 scoped_refptr<SaveFileManager> save_file_manager_; 320 scoped_refptr<SaveFileManager> save_file_manager_;
321 std::unique_ptr<resource_coordinator::tracing::CoordinatorImpl>
322 tracing_coordinator_;
319 std::unique_ptr<memory_instrumentation::CoordinatorImpl> 323 std::unique_ptr<memory_instrumentation::CoordinatorImpl>
320 memory_instrumentation_coordinator_; 324 memory_instrumentation_coordinator_;
321 325
322 // DO NOT add members here. Add them to the right categories above. 326 // DO NOT add members here. Add them to the right categories above.
323 327
324 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 328 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
325 }; 329 };
326 330
327 } // namespace content 331 } // namespace content
328 332
329 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 333 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698