From 978df34538607d50bf4690f2d679c1bef860398c Mon Sep 17 00:00:00 2001 From: "hayato@chromium.org" Date: Tue, 24 Nov 2009 06:21:53 +0000 Subject: Move base64 from 'net/base' into 'base'. BUG=13572 TEST=none Review URL: http://codereview.chromium.org/399068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32918 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gears_integration.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/gears_integration.cc') diff --git a/chrome/browser/gears_integration.cc b/chrome/browser/gears_integration.cc index da08df3..83da75f 100644 --- a/chrome/browser/gears_integration.cc +++ b/chrome/browser/gears_integration.cc @@ -5,6 +5,7 @@ #include "chrome/browser/gears_integration.h" #include "app/gfx/codec/png_codec.h" +#include "base/base64.h" #include "base/logging.h" #include "base/message_loop.h" #include "base/string_util.h" @@ -12,7 +13,6 @@ #include "chrome/common/chrome_plugin_util.h" #include "chrome/common/gears_api.h" #include "googleurl/src/gurl.h" -#include "net/base/base64.h" #include "third_party/skia/include/core/SkBitmap.h" #include "webkit/glue/dom_operations.h" @@ -122,7 +122,7 @@ static GURL ConvertSkBitmapToDataURL(const SkBitmap& icon) { std::string icon_data_str(reinterpret_cast(&icon_data[0]), icon_data.size()); std::string icon_base64_encoded; - net::Base64Encode(icon_data_str, &icon_base64_encoded); + base::Base64Encode(icon_data_str, &icon_base64_encoded); GURL icon_url("data:image/png;base64," + icon_base64_encoded); return icon_url; -- cgit v1.1