Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: net/base/crl_filter.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/base64.h" 5 #include "base/base64.h"
6 #include "base/json/json_reader.h" 6 #include "base/json/json_reader.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "crypto/sha2.h" 10 #include "crypto/sha2.h"
11 #include "net/base/crl_filter.h" 11 #include "net/base/crl_filter.h"
12 12
13 #if defined(USE_SYSTEM_ZLIB) 13 #if defined(USE_SYSTEM_ZLIB)
14 #include <zlib.h> 14 #include <zlib.h>
15 #else 15 #else
16 #include "third_party/zlib/zlib.h" 16 #include "third_party/zlib/zlib.h"
17 #endif 17 #endif
18 18
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 return ret; 869 return ret;
870 } 870 }
871 871
872 std::string CRLFilter::SHA256() const { 872 std::string CRLFilter::SHA256() const {
873 std::string s = header_bytes_; 873 std::string s = header_bytes_;
874 s += gcs_bytes_; 874 s += gcs_bytes_;
875 return crypto::SHA256HashString(s); 875 return crypto::SHA256HashString(s);
876 } 876 }
877 877
878 } // namespace net 878 } // namespace net
OLDNEW
« base/stl_util.h ('K') | « net/base/cert_verifier.cc ('k') | net/base/dnsrr_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698