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

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

Issue 8373021: Convert URLFetcher::Delegates to use an interface in content/public/common. Also remove the old U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: take out CHECKs Created 9 years, 2 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
« no previous file with comments | « content/content_common.gypi ('k') | content/test/test_url_fetcher_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_
6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_
7 #pragma once
8
9 #include <string>
10 #include <vector>
11
12 #include "content/common/content_export.h"
13
14 class GURL;
15 class URLFetcher;
16
17 namespace net {
18 class URLRequestStatus;
willchan no longer on Chromium 2011/10/24 17:12:33 Are these two guys needed?
jam 2011/10/24 17:37:11 Done. I had those left over from when I had the ol
19 typedef std::vector<std::string> ResponseCookies;
20 }
21
22 namespace content {
23 // A delegate interface for users of URLFetcher.
24 class CONTENT_EXPORT URLFetcherDelegate {
25 public:
26 // This will be called when the URL has been fetched, successfully or not.
27 // Use accessor methods on |source| to get the results.
28 virtual void OnURLFetchComplete(const URLFetcher* source) = 0;
29
30 protected:
31 virtual ~URLFetcherDelegate() {}
32 };
33
34 } // namespace content
35
36 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/test/test_url_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698