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

Side by Side Diff: chromecast/browser/cast_browser_main_parts.h

Issue 2393853002: Refactor CrashDump*Manager to use a shared CrashDumpObserver singleton. (Closed)
Patch Set: Review changes: remove refcounting, ability to unregister clients, move responsibility for posting to clients Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_
6 #define CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ 6 #define CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_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"
12 #include "content/public/browser/browser_main_parts.h" 11 #include "content/public/browser/browser_main_parts.h"
13 #include "content/public/common/main_function_params.h" 12 #include "content/public/common/main_function_params.h"
14 13
15 namespace base { 14 namespace base {
16 class SingleThreadTaskRunner; 15 class SingleThreadTaskRunner;
17 class Thread; 16 class Thread;
18 } // namespace base 17 } // namespace base
19 18
20 namespace net { 19 namespace net {
21 class NetLog; 20 class NetLog;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 std::unique_ptr<CastMemoryPressureMonitor> memory_pressure_monitor_; 81 std::unique_ptr<CastMemoryPressureMonitor> memory_pressure_monitor_;
83 #endif 82 #endif
84 83
85 DISALLOW_COPY_AND_ASSIGN(CastBrowserMainParts); 84 DISALLOW_COPY_AND_ASSIGN(CastBrowserMainParts);
86 }; 85 };
87 86
88 } // namespace shell 87 } // namespace shell
89 } // namespace chromecast 88 } // namespace chromecast
90 89
91 #endif // CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ 90 #endif // CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698