Add connectivity check for Android feedback.
[chromium-blink-merge.git] / net / base / sdch_net_log_params.h
bloba13d9de2095cef8e7e391bc58bfe51a3e867edfd
1 // Copyright 2014 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 NET_BASE_SDCH_NET_LOG_PARAMS_H_
6 #define NET_BASE_SDCH_NET_LOG_PARAMS_H_
8 #include <string>
10 #include "net/base/net_export.h"
11 #include "net/base/sdch_problem_codes.h"
12 #include "net/log/net_log.h"
14 class GURL;
16 namespace net {
18 NET_EXPORT base::Value* NetLogSdchResourceProblemCallback(
19 SdchProblemCode problem,
20 NetLogCaptureMode capture_mode);
22 // If |is_error| is false, "net_error" field won't be added to the JSON and the
23 // event won't be painted red in the netlog.
24 NET_EXPORT base::Value* NetLogSdchDictionaryFetchProblemCallback(
25 SdchProblemCode problem,
26 const GURL& url,
27 bool is_error,
28 NetLogCaptureMode capture_mode);
30 } // namespace net
32 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_