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 <tfarina@chromium.org>.
Cr-Commit-Position: refs/heads/master@{#8920}
diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn
index 47b05be..5201a69 100644
--- a/webrtc/base/BUILD.gn
+++ b/webrtc/base/BUILD.gn
@@ -375,7 +375,6 @@
"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 ac23529..fb33f77 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 e81c2e8..cff954c 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 7cf6f32..0000000
--- 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_