Chromium Code Reviews| Index: chrome/browser/chromeos/system_logs/about_system_logs_fetcher.h |
| diff --git a/chrome/browser/chromeos/system_logs/about_system_logs_fetcher.h b/chrome/browser/chromeos/system_logs/about_system_logs_fetcher.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b59e4b0289925440ea601882e9eb4f9067c7dfdb |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/system_logs/about_system_logs_fetcher.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_ABOUT_SYSTEM_LOGS_FETCHER_H_ |
| +#define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_ABOUT_SYSTEM_LOGS_FETCHER_H_ |
| + |
| +#include "chrome/browser/chromeos/system_logs/system_logs_fetcher_base.h" |
| + |
| +namespace chromeos { |
| + |
| +// The AboutAboutSystemLogsFetcher aggregates the unscrubbed logs for display |
| +// in the about:system page. |
| +class AboutSystemLogsFetcher |
| + : public SystemLogsFetcherBase, |
| + public base::SupportsWeakPtr<AboutSystemLogsFetcher> { |
| + public: |
| + AboutSystemLogsFetcher(); |
| + ~AboutSystemLogsFetcher(); |
| + |
| + private: |
| + // 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
|
| + virtual base::WeakPtr<SystemLogsFetcherBase> GetWeakPtr() OVERRIDE; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(AboutSystemLogsFetcher); |
| +}; |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_ABOUT_SYSTEM_LOGS_FETCHER_H_ |
| + |