URLFetcher has moved from content to net, update references.
No functionality change.
BUG=chromium:118220
Review URL: https://codereview.appspot.com/6310062
git-svn-id: http://rlz.googlecode.com/svn/trunk@132 10bc0f33-e4bf-9a86-80cf-af638054f0c4
diff --git a/DEPS b/DEPS
index 5e3de3d..7b0d552 100644
--- a/DEPS
+++ b/DEPS
@@ -52,7 +52,6 @@
include_rules = [
"+build",
- "+content", # TODO: Remove this once http://crbug.com/118220 is fixed.
"+net", # This is only used when force_rlz_use_chrome_net=1 is passed to gyp.
"+third_party/zlib",
]
diff --git a/lib/financial_ping.cc b/lib/financial_ping.cc
index 96425c6..22d17c1 100644
--- a/lib/financial_ping.cc
+++ b/lib/financial_ping.cc
@@ -47,8 +47,6 @@
#include "base/bind.h"
#include "base/message_loop.h"
#include "base/time.h"
-#include "content/public/common/url_fetcher.h"
-#include "content/public/common/url_fetcher_delegate.h"
#include "googleurl/src/gurl.h"
#include "net/base/load_flags.h"
#include "net/url_request/url_fetcher.h"
@@ -194,7 +192,7 @@
namespace {
-class FinancialPingUrlFetcherDelegate : public content::URLFetcherDelegate {
+class FinancialPingUrlFetcherDelegate : public net::URLFetcherDelegate {
public:
FinancialPingUrlFetcherDelegate(MessageLoop* loop) : loop_(loop) { }
virtual void OnURLFetchComplete(const net::URLFetcher* source);
@@ -276,7 +274,7 @@
kFinancialServer, kFinancialPort,
request);
- scoped_ptr<net::URLFetcher> fetcher(content::URLFetcher::Create(
+ scoped_ptr<net::URLFetcher> fetcher(net::URLFetcher::Create(
GURL(url), net::URLFetcher::GET, &delegate));
fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE |
diff --git a/rlz.gyp b/rlz.gyp
index 938c4b7..779f782 100644
--- a/rlz.gyp
+++ b/rlz.gyp
@@ -83,8 +83,6 @@
'dependencies': [
'../build/temp_gyp/googleurl.gyp:googleurl',
'../net/net.gyp:net',
- # TODO: Remove this once URLFetcher has moved to net, http://118220
- '../content/content.gyp:content_common',
],
}, {
'defines': [