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

Unified Diff: extensions/browser/content_verify_job.cc

Issue 2236443003: extensions: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't add braces Created 4 years, 4 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 | « extensions/browser/content_verifier.cc ('k') | extensions/browser/error_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/content_verify_job.cc
diff --git a/extensions/browser/content_verify_job.cc b/extensions/browser/content_verify_job.cc
index e10f8637420d8fc6d0bb79b5f22f39d92ccb927d..632590ce7d38b088d5699112a7d749d03f9a5ed5 100644
--- a/extensions/browser/content_verify_job.cc
+++ b/extensions/browser/content_verify_job.cc
@@ -146,7 +146,7 @@ bool ContentVerifyJob::FinishBlock() {
if (current_hash_byte_count_ <= 0)
return true;
std::string final(crypto::kSHA256Length, 0);
- current_hash_->Finish(string_as_array(&final), final.size());
+ current_hash_->Finish(base::string_as_array(& final), final.size());
current_hash_.reset();
current_hash_byte_count_ = 0;
@@ -178,7 +178,7 @@ void ContentVerifyJob::OnHashesReady(bool success) {
if (!queue_.empty()) {
std::string tmp;
queue_.swap(tmp);
- BytesRead(tmp.size(), string_as_array(&tmp));
+ BytesRead(tmp.size(), base::string_as_array(&tmp));
}
if (done_reading_) {
ScopedElapsedTimer timer(&time_spent_);
« no previous file with comments | « extensions/browser/content_verifier.cc ('k') | extensions/browser/error_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698