Part of fix for bug 5455901 Export symbols in android/

Exporting needed symbols from Android specific code.

Used NET_EXPORT for net code and BASE_API for other code.

Change-Id: Ief7426180eec993bbe894e7231b224dcac657c7b
diff --git a/android/autofill/android_url_request_context_getter.h b/android/autofill/android_url_request_context_getter.h
index 4c34081..3ee4804 100644
--- a/android/autofill/android_url_request_context_getter.h
+++ b/android/autofill/android_url_request_context_getter.h
@@ -28,10 +28,11 @@
 
 #include "base/message_loop_proxy.h"
 #include "base/threading/thread.h"
+#include "net/base/net_export.h"
 #include "net/url_request/url_request_context_getter.h"
 #include "net/url_request/url_request_context.h"
 
-class AndroidURLRequestContextGetter : public net::URLRequestContextGetter {
+class NET_EXPORT AndroidURLRequestContextGetter : public net::URLRequestContextGetter {
 public:
   AndroidURLRequestContextGetter(net::URLRequestContext* context, base::Thread* ioThread)
     : context_(context)
diff --git a/android/jni/jni_utils.h b/android/jni/jni_utils.h
index b4141f8..96734a7 100644
--- a/android/jni/jni_utils.h
+++ b/android/jni/jni_utils.h
@@ -5,6 +5,7 @@
 
 #include <string>
 
+#include "base/base_api.h"
 #include "base/string16.h"
 #include "nativehelper/jni.h"
 
@@ -12,7 +13,7 @@
 
 namespace jni { // To avoid name conflict with similar functions in webkit
 
-void SetJavaVM(JavaVM* vm);
+void BASE_API SetJavaVM(JavaVM* vm);
 
 // Get the JNI environment for the current thread.
 JNIEnv* GetJNIEnv();
diff --git a/android/net/android_network_library_impl.h b/android/net/android_network_library_impl.h
index 8f2e9f7..1d5019a 100644
--- a/android/net/android_network_library_impl.h
+++ b/android/net/android_network_library_impl.h
@@ -13,8 +13,9 @@
 #include <vector>
 
 #include "net/base/android_network_library.h"
+#include "net/base/net_export.h"
 
-class AndroidNetworkLibraryImpl : public net::AndroidNetworkLibrary {
+class NET_EXPORT AndroidNetworkLibraryImpl : public net::AndroidNetworkLibrary {
  public:
   static void InitWithApplicationContext(JNIEnv* env, jobject context);