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

Unified Diff: net/url_request/url_fetcher_delegate.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_fetcher_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_delegate.h
diff --git a/net/url_request/url_fetcher_delegate.h b/net/url_request/url_fetcher_delegate.h
deleted file mode 100644
index e1b1352fb506fa323775570aab4cbde59e1aab53..0000000000000000000000000000000000000000
--- a/net/url_request/url_fetcher_delegate.h
+++ /dev/null
@@ -1,43 +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.
-
-#ifndef NET_URL_REQUEST_URL_FETCHER_DELEGATE_H_
-#define NET_URL_REQUEST_URL_FETCHER_DELEGATE_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "net/base/net_export.h"
-
-namespace net {
-
-class URLFetcher;
-
-// A delegate interface for users of URLFetcher.
-class NET_EXPORT URLFetcherDelegate {
- public:
- // This will be called when the URL has been fetched, successfully or not.
- // Use accessor methods on |source| to get the results.
- virtual void OnURLFetchComplete(const URLFetcher* source) = 0;
-
- // This will be called when some part of the response is read. |current|
- // denotes the number of bytes received up to the call, and |total| is the
- // expected total size of the response (or -1 if not determined).
- virtual void OnURLFetchDownloadProgress(const URLFetcher* source,
- int64 current, int64 total);
-
- // This will be called when uploading of POST or PUT requests proceeded.
- // |current| denotes the number of bytes sent so far, and |total| is the
- // total size of uploading data (or -1 if chunked upload is enabled).
- virtual void OnURLFetchUploadProgress(const URLFetcher* source,
- int64 current, int64 total);
-
- protected:
- virtual ~URLFetcherDelegate();
-};
-
-} // namespace net
-
-#endif // NET_URL_REQUEST_URL_FETCHER_DELEGATE_H_
« no previous file with comments | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_fetcher_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698