Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / android / profiles / profile_downloader_android.h
index 8ea5388..c71a258 100644 (file)
@@ -7,26 +7,7 @@
 
 #include <jni.h>
 
-#include <string>
-
-#include "base/strings/string16.h"
-
-class SkBitmap;
-
-// Android wrapper of the ProfileDownloader which provides access from the Java
-// layer. This class should only be accessed from the UI thread.
-class ProfileDownloaderAndroid {
- public:
-  // Registers the ProfileDownloaderAndroid's native methods through JNI.
-  static bool Register(JNIEnv* env);
-
-  static void OnProfileDownloadSuccess(
-      const std::string& account_id_,
-      const base::string16& full_name,
-      const SkBitmap& bitmap);
-
- private:
-  DISALLOW_COPY_AND_ASSIGN(ProfileDownloaderAndroid);
-};
+// Registers the ProfileDownloader's native methods through JNI.
+bool RegisterProfileDownloader(JNIEnv* env);
 
 #endif  // CHROME_BROWSER_ANDROID_PROFILES_PROFILE_DOWNLOADER_ANDROID_H_