OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_ABOUT_SYSTEM_LOGS_FETCHER_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_ABOUT_SYSTEM_LOGS_FETCHER_H_ | |
7 | |
8 #include "chrome/browser/chromeos/system_logs/system_logs_fetcher_base.h" | |
9 | |
10 namespace chromeos { | |
11 | |
12 // The AboutAboutSystemLogsFetcher aggregates the unscrubbed logs for display | |
13 // in the about:system page. | |
14 class AboutSystemLogsFetcher | |
15 : public SystemLogsFetcherBase, | |
16 public base::SupportsWeakPtr<AboutSystemLogsFetcher> { | |
17 public: | |
18 AboutSystemLogsFetcher(); | |
19 ~AboutSystemLogsFetcher(); | |
20 | |
21 private: | |
22 // Returns a weak ptr to SystemLogsFetcherBase. | |
stevenjb
2013/08/09 18:52:44
nit: All I was asking for was to document which cl
rkc
2013/08/09 20:17:36
Hmm, I rethought why we need this and realized tha
| |
23 virtual base::WeakPtr<SystemLogsFetcherBase> GetWeakPtr() OVERRIDE; | |
24 | |
25 DISALLOW_COPY_AND_ASSIGN(AboutSystemLogsFetcher); | |
26 }; | |
27 | |
28 } // namespace chromeos | |
29 | |
30 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_ABOUT_SYSTEM_LOGS_FETCHER_H_ | |
31 | |
OLD | NEW |