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

Unified Diff: chrome/browser/drive/drive_api_util.cc

Issue 1088593005: drive: Do not rely on argument-dependent lookup when calling MD5DigestToBase16(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/drive/drive_api_util.cc
diff --git a/chrome/browser/drive/drive_api_util.cc b/chrome/browser/drive/drive_api_util.cc
index 5d07e1e99ff64d42face0c45ec2365b02c9231ff..bd9ba99358fbfae6cb9ce13c8062b4fcb0e042c3 100644
--- a/chrome/browser/drive/drive_api_util.cc
+++ b/chrome/browser/drive/drive_api_util.cc
@@ -168,7 +168,7 @@ std::string GetMd5Digest(const base::FilePath& file_path,
base::MD5Digest digest;
base::MD5Final(&digest, &context);
- return MD5DigestToBase16(digest);
+ return base::MD5DigestToBase16(digest);
}
FileStreamMd5Digester::FileStreamMd5Digester()
@@ -207,7 +207,7 @@ void FileStreamMd5Digester::OnChunkRead(const ResultCallback& callback,
// EOF.
base::MD5Digest digest;
base::MD5Final(&digest, &md5_context_);
- std::string result = MD5DigestToBase16(digest);
+ std::string result = base::MD5DigestToBase16(digest);
callback.Run(result);
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698