summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-02 21:17:50 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-02 21:17:50 +0000
commit10810c885c001c5cb335ed8052106600f6698401 (patch)
treec0236c5e3402bf5cb3e42e37f36f65dc8aaa2d2b /net
parent5b8ff1c76753a08b95d4c8b8d85644da93dabbdf (diff)
downloadchromium_src-10810c885c001c5cb335ed8052106600f6698401.zip
chromium_src-10810c885c001c5cb335ed8052106600f6698401.tar.gz
chromium_src-10810c885c001c5cb335ed8052106600f6698401.tar.bz2
net: Inline the implementation of virtual destructor of URLFetcherFactory.
See http://codereview.chromium.org/10438002/ for background. BUG=118220 R=wtc@chromium.org Review URL: https://chromiumcodereview.appspot.com/10449057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/net.gyp1
-rw-r--r--net/url_request/url_fetcher_factory.cc11
-rw-r--r--net/url_request/url_fetcher_factory.h7
3 files changed, 3 insertions, 16 deletions
diff --git a/net/net.gyp b/net/net.gyp
index b495bc4..cbbff33 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -721,7 +721,6 @@
'url_request/url_fetcher.h',
'url_request/url_fetcher_delegate.cc',
'url_request/url_fetcher_delegate.h',
- 'url_request/url_fetcher_factory.cc',
'url_request/url_fetcher_factory.h',
'url_request/url_request.cc',
'url_request/url_request.h',
diff --git a/net/url_request/url_fetcher_factory.cc b/net/url_request/url_fetcher_factory.cc
deleted file mode 100644
index 9335e7c..0000000
--- a/net/url_request/url_fetcher_factory.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/url_request/url_fetcher_factory.h"
-
-namespace net {
-
-URLFetcherFactory::~URLFetcherFactory() {}
-
-} // namespace net
diff --git a/net/url_request/url_fetcher_factory.h b/net/url_request/url_fetcher_factory.h
index 77108b6..d0ad155 100644
--- a/net/url_request/url_fetcher_factory.h
+++ b/net/url_request/url_fetcher_factory.h
@@ -6,7 +6,6 @@
#define NET_URL_REQUEST_URL_FETCHER_FACTORY_H_
#pragma once
-#include "net/base/net_export.h"
#include "net/url_request/url_fetcher.h"
namespace net {
@@ -14,16 +13,16 @@ class URLFetcherDelegate;
// URLFetcher::Create uses the currently registered Factory to create the
// URLFetcher. Factory is intended for testing.
-class NET_EXPORT URLFetcherFactory {
+class URLFetcherFactory {
public:
virtual URLFetcher* CreateURLFetcher(
int id,
const GURL& url,
URLFetcher::RequestType request_type,
- URLFetcherDelegate* d) = 0;
+ URLFetcherDelegate* delegate) = 0;
protected:
- virtual ~URLFetcherFactory();
+ virtual ~URLFetcherFactory() {}
};
} // namespace net