[Cronet] Delay StartNetLog and StopNetLog until native request context is initialized
[chromium-blink-merge.git] / chrome / browser / feedback / system_logs / log_sources / chrome_internal_log_source.h
bloba4a7c61a28d7d5c4c8065eb6ca88e307b2af95dc
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.
5 #ifndef CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_SOURCE_H_
6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_SOURCE_H_
8 #include "chrome/browser/feedback/system_logs/system_logs_fetcher_base.h"
10 namespace system_logs {
12 // Fetches internal Chrome logs.
13 class ChromeInternalLogSource : public SystemLogsSource {
14 public:
15 ChromeInternalLogSource();
16 ~ChromeInternalLogSource() override;
18 // SystemLogsSource override.
19 void Fetch(const SysLogsSourceCallback& request) override;
21 private:
22 void PopulateSyncLogs(SystemLogsResponse* response);
23 void PopulateExtensionInfoLogs(SystemLogsResponse* response);
24 void PopulateDataReductionProxyLogs(SystemLogsResponse* response);
26 DISALLOW_COPY_AND_ASSIGN(ChromeInternalLogSource);
29 } // namespace system_logs
31 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_SOURCE_H_