| Index: net/base/sdch_net_log_params.cc | 
| diff --git a/net/base/sdch_net_log_params.cc b/net/base/sdch_net_log_params.cc | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..02e0ad7819264a4e215e9fe3e83a3d909af46d5d | 
| --- /dev/null | 
| +++ b/net/base/sdch_net_log_params.cc | 
| @@ -0,0 +1,34 @@ | 
| +// Copyright 2014 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. | 
| + | 
| +#include "net/base/sdch_net_log_params.h" | 
| + | 
| +#include "base/values.h" | 
| +#include "net/base/net_errors.h" | 
| +#include "url/gurl.h" | 
| + | 
| +namespace net { | 
| + | 
| +base::Value* NetLogSdchResourceProblemCallback(SdchProblemCode problem, | 
| +                                               NetLog::LogLevel log_level) { | 
| +  base::DictionaryValue* dict = new base::DictionaryValue(); | 
| +  dict->SetInteger("sdch_problem_code", problem); | 
| +  dict->SetInteger("net_error", ERR_FAILED); | 
| +  return dict; | 
| +} | 
| + | 
| +base::Value* NetLogSdchDictionaryFetchProblemCallback( | 
| +    SdchProblemCode problem, | 
| +    const GURL& url, | 
| +    bool is_error, | 
| +    NetLog::LogLevel log_level) { | 
| +  base::DictionaryValue* dict = new base::DictionaryValue(); | 
| +  dict->SetInteger("sdch_problem_code", problem); | 
| +  dict->SetString("dictionary_url", url.spec()); | 
| +  if (is_error) | 
| +    dict->SetInteger("net_error", ERR_FAILED); | 
| +  return dict; | 
| +} | 
| + | 
| +}  // namespace net | 
|  |