Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_URL_H_ | |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_URL_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 | |
| 12 class GURL; | |
| 13 class PrefServiceBase; | |
| 14 | |
| 15 class AutofillDownloadUrl { | |
| 16 public: | |
| 17 explicit AutofillDownloadUrl(PrefServiceBase* pref_service) | |
| 18 : pref_service_(pref_service) {} | |
| 19 | |
| 20 GURL GetAutofillRequestUrl(); | |
|
Ilya Sherman
2012/10/25 22:52:02
nit: s/Request/Query
ahutter
2012/10/25 23:56:03
Done.
| |
| 21 GURL GetAutofillUploadUrl(); | |
|
Ilya Sherman
2012/10/25 22:52:02
nit: Please leave a blank line after this one.
ahutter
2012/10/25 23:56:03
Done.
| |
| 22 private: | |
| 23 void RegisterPreferences(); | |
|
Ilya Sherman
2012/10/25 22:52:02
nit: If we keep this, the common style is for this
| |
| 24 std::string GetBaseAutofillUrl(); | |
| 25 | |
| 26 PrefServiceBase* pref_service_; | |
|
Ilya Sherman
2012/10/25 22:52:02
nit: If we keep this, "PrefServiceBase* const pref
| |
| 27 DISALLOW_COPY_AND_ASSIGN(AutofillDownloadUrl); | |
| 28 }; | |
| 29 | |
| 30 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_URL_H_ | |
| 31 | |
| OLD | NEW |