From 0dd58026a8fa8ac9290c6ad3efad9347464e3ffa Mon Sep 17 00:00:00 2001 From: Thiago Farina Date: Thu, 2 Apr 2015 09:03:20 +0200 Subject: [PATCH] Update callers to include messagedigest.h. And remove pass-through stringdigest.h include. This should fix the TODO in stringdigest.h that were that saying to update the callers to the new location. BUG=None TEST=ninja -C out/Debug still works fine R=henrika@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/48779004 Patch from Thiago Farina . Cr-Commit-Position: refs/heads/master@{#8920} --- webrtc/base/BUILD.gn | 1 - webrtc/base/base.gyp | 2 -- webrtc/base/httpcommon.cc | 4 ++-- webrtc/base/stringdigest.h | 17 ----------------- 4 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 webrtc/base/stringdigest.h diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn index 47b05be5e8..5201a69bef 100644 --- a/webrtc/base/BUILD.gn +++ b/webrtc/base/BUILD.gn @@ -375,7 +375,6 @@ static_library("rtc_base") { "sharedexclusivelock.h", "sslconfig.h", "sslroots.h", - "stringdigest.h", "testclient.cc", "testclient.h", "transformadapter.cc", diff --git a/webrtc/base/base.gyp b/webrtc/base/base.gyp index ac23529414..fb33f77ec9 100644 --- a/webrtc/base/base.gyp +++ b/webrtc/base/base.gyp @@ -273,7 +273,6 @@ 'sslstreamadapterhelper.h', 'stream.cc', 'stream.h', - 'stringdigest.h', 'systeminfo.cc', 'systeminfo.h', 'task.cc', @@ -432,7 +431,6 @@ 'sharedexclusivelock.h', 'sslconfig.h', 'sslroots.h', - 'stringdigest.h', 'testbase64.h', 'testclient.cc', 'testclient.h', diff --git a/webrtc/base/httpcommon.cc b/webrtc/base/httpcommon.cc index e81c2e8a58..cff954cca5 100644 --- a/webrtc/base/httpcommon.cc +++ b/webrtc/base/httpcommon.cc @@ -24,10 +24,10 @@ #include "webrtc/base/base64.h" #include "webrtc/base/common.h" #include "webrtc/base/cryptstring.h" -#include "webrtc/base/httpcommon.h" #include "webrtc/base/httpcommon-inl.h" +#include "webrtc/base/httpcommon.h" +#include "webrtc/base/messagedigest.h" #include "webrtc/base/socketaddress.h" -#include "webrtc/base/stringdigest.h" #include "webrtc/base/stringencode.h" #include "webrtc/base/stringutils.h" diff --git a/webrtc/base/stringdigest.h b/webrtc/base/stringdigest.h deleted file mode 100644 index 7cf6f329af..0000000000 --- a/webrtc/base/stringdigest.h +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright 2004 The WebRTC Project Authors. All rights reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#ifndef WEBRTC_BASE_STRINGDIGEST_H_ -#define WEBRTC_BASE_STRINGDIGEST_H_ - -// TODO: Update remaining callers to use messagedigest.h instead -#include "webrtc/base/messagedigest.h" - -#endif // WEBRTC_BASE_STRINGDIGEST_H_