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

Side by Side Diff: chrome/browser/autofill/autofill_download.h

Issue 6775005: iwyu: Cleanup in the following files: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test fixes. Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <stddef.h>
9 #include <list> 10 #include <list>
10 #include <map> 11 #include <map>
11 #include <string> 12 #include <string>
13 #include <utility>
12 #include <vector> 14 #include <vector>
13 15
14 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
15 #include "base/time.h" 17 #include "base/time.h"
16 #include "chrome/browser/autofill/autofill_profile.h"
17 #include "chrome/browser/autofill/field_types.h"
18 #include "chrome/browser/autofill/form_structure.h"
19 #include "chrome/common/net/url_fetcher.h" 18 #include "chrome/common/net/url_fetcher.h"
20 19
21 class AutofillMetrics; 20 class AutofillMetrics;
21 class FormStructure;
22 class GURL;
22 class Profile; 23 class Profile;
23 24
25 namespace net {
26 class URLRequestStatus;
27 }
28
24 // Handles getting and updating Autofill heuristics. 29 // Handles getting and updating Autofill heuristics.
25 class AutofillDownloadManager : public URLFetcher::Delegate { 30 class AutofillDownloadManager : public URLFetcher::Delegate {
26 public: 31 public:
27 enum AutofillRequestType { 32 enum AutofillRequestType {
28 REQUEST_QUERY, 33 REQUEST_QUERY,
29 REQUEST_UPLOAD, 34 REQUEST_UPLOAD,
30 }; 35 };
31 36
32 // An interface used to notify clients of AutofillDownloadManager. 37 // An interface used to notify clients of AutofillDownloadManager.
33 // Notifications are *not* guaranteed to be called. 38 // Notifications are *not* guaranteed to be called.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // |negative_upload_rate_| for non matched. 164 // |negative_upload_rate_| for non matched.
160 double positive_upload_rate_; 165 double positive_upload_rate_;
161 double negative_upload_rate_; 166 double negative_upload_rate_;
162 167
163 // Needed for unit-test. 168 // Needed for unit-test.
164 int fetcher_id_for_unittest_; 169 int fetcher_id_for_unittest_;
165 }; 170 };
166 171
167 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_H_ 172 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_H_
168 173
OLDNEW
« no previous file with comments | « chrome/browser/autofill/address_field_unittest.cc ('k') | chrome/browser/autofill/autofill_download.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698