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

Unified Diff: chrome/browser/autofill/autofill_download.h

Issue 10386063: Move URLFetcherDelegate to net/ and split URLFetcher between net/ and content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head, fix win component build 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autocomplete/search_provider.cc ('k') | chrome/browser/autofill/autofill_download.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_download.h
diff --git a/chrome/browser/autofill/autofill_download.h b/chrome/browser/autofill/autofill_download.h
index 9a27b1577564c522aceaa0ba557484900579ee7f..4a85d667651344485cc198ef4dbe148bfee9cdec 100644
--- a/chrome/browser/autofill/autofill_download.h
+++ b/chrome/browser/autofill/autofill_download.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -23,6 +23,10 @@ class AutofillMetrics;
class FormStructure;
class Profile;
+namespace net {
+class URLFetcher;
+} // namespace net
+
// Handles getting and updating Autofill heuristics.
class AutofillDownloadManager : public content::URLFetcherDelegate {
public:
@@ -111,7 +115,7 @@ class AutofillDownloadManager : public content::URLFetcherDelegate {
const std::vector<std::string>& forms_in_query) const;
// content::URLFetcherDelegate implementation:
- virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
+ virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
// Probability of the form upload. Between 0 (no upload) and 1 (upload all).
// GetPositiveUploadRate() is for matched forms,
@@ -132,7 +136,7 @@ class AutofillDownloadManager : public content::URLFetcherDelegate {
// For each requested form for both query and upload we create a separate
// request and save its info. As url fetcher is identified by its address
// we use a map between fetchers and info.
- std::map<content::URLFetcher*, FormRequestData> url_fetchers_;
+ std::map<net::URLFetcher*, FormRequestData> url_fetchers_;
// Cached QUERY requests.
QueryRequestCache cached_forms_;
« no previous file with comments | « chrome/browser/autocomplete/search_provider.cc ('k') | chrome/browser/autofill/autofill_download.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698