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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 399068: Move base64 from 'net/base' into 'base'. (Closed)
Patch Set: rebase Created 11 years, 1 month 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 | « chrome/browser/importer/nss_decryptor.cc ('k') | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index dbf3e97ee518c9404fdf90c3d9a5610ad82d44fc..922b00445b85fab7dff968d2d2d3bd84295ee97d 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/metrics/metrics_log.h"
+#include "base/base64.h"
#include "base/basictypes.h"
#include "base/file_util.h"
#include "base/file_version_info.h"
@@ -17,7 +18,6 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/pref_service.h"
#include "googleurl/src/gurl.h"
-#include "net/base/base64.h"
#define OPEN_ELEMENT_FOR_SCOPE(name) ScopedElement scoped_element(this, name)
@@ -129,7 +129,7 @@ std::string MetricsLog::CreateHash(const std::string& value) {
std::string MetricsLog::CreateBase64Hash(const std::string& string) {
std::string encoded_digest;
- if (net::Base64Encode(CreateHash(string), &encoded_digest)) {
+ if (base::Base64Encode(CreateHash(string), &encoded_digest)) {
DLOG(INFO) << "Metrics: Hash [" << encoded_digest << "]=[" << string << "]";
return encoded_digest;
}
« no previous file with comments | « chrome/browser/importer/nss_decryptor.cc ('k') | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698