| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #include "chrome/browser/autofill/autofill_download_url.h" | 5 #include "components/autofill/browser/autofill_download_url.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "components/autofill/common/autofill_switches.h" | 10 #include "components/autofill/common/autofill_switches.h" |
| 11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 12 | 12 |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 const char kDefaultAutofillServiceUrl[] = | 15 const char kDefaultAutofillServiceUrl[] = |
| (...skipping 20 matching lines...) Expand all Loading... |
| 36 GURL autofill::GetAutofillQueryUrl() { | 36 GURL autofill::GetAutofillQueryUrl() { |
| 37 std::string baseAutofillServiceUrl = GetBaseAutofillUrl(); | 37 std::string baseAutofillServiceUrl = GetBaseAutofillUrl(); |
| 38 return GURL(baseAutofillServiceUrl + "query?client=" + kClientName); | 38 return GURL(baseAutofillServiceUrl + "query?client=" + kClientName); |
| 39 } | 39 } |
| 40 | 40 |
| 41 GURL autofill::GetAutofillUploadUrl() { | 41 GURL autofill::GetAutofillUploadUrl() { |
| 42 std::string baseAutofillServiceUrl = GetBaseAutofillUrl(); | 42 std::string baseAutofillServiceUrl = GetBaseAutofillUrl(); |
| 43 return GURL(baseAutofillServiceUrl + "upload?client=" + kClientName); | 43 return GURL(baseAutofillServiceUrl + "upload?client=" + kClientName); |
| 44 } | 44 } |
| 45 | 45 |
| OLD | NEW |