Upload upstream chromium 67.0.3396
[platform/framework/web/chromium-efl.git] / net / network_error_logging / network_error_logging_delegate.h
1 // Copyright 2018 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 NET_NETWORK_ERROR_LOGGING_NETWORK_ERROR_LOGGING_DELEGATE_H_
6 #define NET_NETWORK_ERROR_LOGGING_NETWORK_ERROR_LOGGING_DELEGATE_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "net/base/net_export.h"
12
13 namespace net {
14
15 class NET_EXPORT NetworkErrorLoggingDelegate {
16  public:
17   virtual ~NetworkErrorLoggingDelegate();
18
19   static std::unique_ptr<NetworkErrorLoggingDelegate> Create();
20
21  protected:
22   NetworkErrorLoggingDelegate();
23
24  private:
25   DISALLOW_COPY_AND_ASSIGN(NetworkErrorLoggingDelegate);
26 };
27
28 }  // namespace net
29
30 #endif  // NET_NETWORK_ERROR_LOGGING_NETWORK_ERROR_LOGGING_DELEGATE_H_