summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-10-18 13:53:58 +0100
committerKristian Monsen <kristianm@google.com>2011-10-21 12:31:00 +0100
commita1fe9c0450e6d56112949b33ef2f7491e0cf0f60 (patch)
tree2f0d1e46a96a9567977438bade73b2688159335b /webkit
parent2557749644f9d25af9721533322db19197c49b49 (diff)
downloadexternal_chromium-a1fe9c0450e6d56112949b33ef2f7491e0cf0f60.zip
external_chromium-a1fe9c0450e6d56112949b33ef2f7491e0cf0f60.tar.gz
external_chromium-a1fe9c0450e6d56112949b33ef2f7491e0cf0f60.tar.bz2
Part of fix for bug 5455901 Add exports needed for autofill and cookies
Local only exports due to using of autofill and cookies outside chromium. All changes marked with #ifdef ANDROID Change-Id: I72dcd7fe0fe546073c271663123ba17469deaa83
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/form_data.h9
-rw-r--r--webkit/glue/form_field.h9
2 files changed, 16 insertions, 2 deletions
diff --git a/webkit/glue/form_data.h b/webkit/glue/form_data.h
index f0011c7..4be7412 100644
--- a/webkit/glue/form_data.h
+++ b/webkit/glue/form_data.h
@@ -7,6 +7,9 @@
#include <vector>
+#ifdef ANDROID
+#include "base/base_api.h"
+#endif
#include "base/string_util.h"
#include "googleurl/src/gurl.h"
#include "webkit/glue/form_field.h"
@@ -14,7 +17,11 @@
namespace webkit_glue {
// Holds information about a form to be filled and/or submitted.
-struct FormData {
+struct
+#ifdef ANDROID
+BASE_API
+#endif
+FormData {
// The name of the form.
string16 name;
// GET or POST.
diff --git a/webkit/glue/form_field.h b/webkit/glue/form_field.h
index f2903fb..4a507a7 100644
--- a/webkit/glue/form_field.h
+++ b/webkit/glue/form_field.h
@@ -7,6 +7,9 @@
#include <vector>
+#ifdef ANDROID
+#include "base/base_api.h"
+#endif
#include "base/string16.h"
#ifndef ANDROID
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement.h"
@@ -15,7 +18,11 @@
namespace webkit_glue {
// Stores information about a field in a form.
-struct FormField {
+struct
+#ifdef ANDROID
+BASE_API
+#endif
+FormField {
FormField();
#ifndef ANDROID
explicit FormField(WebKit::WebFormControlElement element);