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

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

Issue 11230060: Adding commandline switch and user pref for autofill server url. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing pref for autofill server url Created 8 years, 2 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
Index: chrome/browser/autofill/autofill_download_url.h
diff --git a/chrome/browser/autofill/autofill_download_url.h b/chrome/browser/autofill/autofill_download_url.h
new file mode 100644
index 0000000000000000000000000000000000000000..a7d8236b9383212237583d031694cc38ca4ee286
--- /dev/null
+++ b/chrome/browser/autofill/autofill_download_url.h
@@ -0,0 +1,27 @@
+// 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_URL_H_
+#define CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_URL_H_
+
+#include <string>
Ilya Sherman 2012/10/26 00:10:49 nit: Once GetBaseAutofillUrl() is moved into the i
ahutter 2012/10/29 15:38:13 Done.
+
+#include "base/basictypes.h"
+
+class GURL;
+
+class AutofillDownloadUrl {
Ilya Sherman 2012/10/26 00:10:49 This class is now stateless, which means that the
ahutter 2012/10/29 15:38:13 Done.
+ public:
+ AutofillDownloadUrl() {}
+ GURL GetAutofillQueryUrl();
+ GURL GetAutofillUploadUrl();
+
+ private:
+ std::string GetBaseAutofillUrl();
Ilya Sherman 2012/10/26 00:10:49 nit: This can now be tucked into an anonymous name
ahutter 2012/10/29 15:38:13 Done.
+
+ DISALLOW_COPY_AND_ASSIGN(AutofillDownloadUrl);
+};
+
+#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_DOWNLOAD_URL_H_
+

Powered by Google App Engine
This is Rietveld 408576698