| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/base/sdch_manager.h" | 5 #include "net/base/sdch_manager.h" |
| 6 | 6 |
| 7 #include <limits.h> |
| 8 |
| 7 #include <utility> | 9 #include <utility> |
| 8 | 10 |
| 9 #include "base/base64url.h" | 11 #include "base/base64url.h" |
| 10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 11 #include "base/metrics/histogram_macros.h" | 13 #include "base/metrics/histogram_macros.h" |
| 12 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
| 13 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
| 14 #include "base/time/default_clock.h" | 16 #include "base/time/default_clock.h" |
| 15 #include "base/values.h" | 17 #include "base/values.h" |
| 16 #include "crypto/sha2.h" | 18 #include "crypto/sha2.h" |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 entry_dict->SetInteger("tries", it->second.count); | 473 entry_dict->SetInteger("tries", it->second.count); |
| 472 entry_dict->SetInteger("reason", it->second.reason); | 474 entry_dict->SetInteger("reason", it->second.reason); |
| 473 entry_list->Append(std::move(entry_dict)); | 475 entry_list->Append(std::move(entry_dict)); |
| 474 } | 476 } |
| 475 value->Set("blacklisted", std::move(entry_list)); | 477 value->Set("blacklisted", std::move(entry_list)); |
| 476 | 478 |
| 477 return std::move(value); | 479 return std::move(value); |
| 478 } | 480 } |
| 479 | 481 |
| 480 } // namespace net | 482 } // namespace net |
| OLD | NEW |