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

Side by Side Diff: content/public/common/url_fetcher_delegate.h

Issue 10417002: RefCounted types should not have public destructors, net/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_
6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/url_request/url_fetcher_delegate.h" 9 #include "net/url_request/url_fetcher_delegate.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 // TODO(akalin): Update all users of URLFetcherDelegate to use 13 // TODO(akalin): Update all users of URLFetcherDelegate to use
14 // net::URLFetcherDelegate and remove this file. 14 // net::URLFetcherDelegate and remove this file.
15 15
16 class URLFetcher; 16 class URLFetcher;
17 17
18 // We inherit from net::URLFetcherDelegate so that we can still 18 // We inherit from net::URLFetcherDelegate so that we can still
19 // forward-declare URLFetcherDelegate (which we can't do with a 19 // forward-declare URLFetcherDelegate (which we can't do with a
20 // typedef). 20 // typedef).
21 class URLFetcherDelegate : public net::URLFetcherDelegate {}; 21 class URLFetcherDelegate : public net::URLFetcherDelegate {
22 protected:
23 virtual ~URLFetcherDelegate() {}
24 };
22 25
23 } // namespace content 26 } // namespace content
24 27
25 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ 28 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698