12345678910111213141516171819202122232425262728293031 |
- // Copyright 2018 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 FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_NET_LOG_OBSERVER_H_
- #define FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_NET_LOG_OBSERVER_H_
- #include <memory>
- namespace base {
- class FilePath;
- } // namespace base
- namespace net {
- class FileNetLogObserver;
- } // namespace net
- class WebEngineNetLogObserver {
- public:
- explicit WebEngineNetLogObserver(const base::FilePath& log_path);
- WebEngineNetLogObserver(const WebEngineNetLogObserver&) = delete;
- WebEngineNetLogObserver& operator=(const WebEngineNetLogObserver&) = delete;
- ~WebEngineNetLogObserver();
- private:
- std::unique_ptr<net::FileNetLogObserver> file_net_log_observer_;
- };
- #endif // FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_NET_LOG_OBSERVER_H_
|