OSDN Git Service

従来NicoClientImplを使用していたのものをNicoBrowserのAPIに変更
authoryukihane <yukihane.feather@gmail.com>
Thu, 11 Aug 2011 05:47:23 +0000 (14:47 +0900)
committeryukihane <yukihane.feather@gmail.com>
Thu, 11 Aug 2011 07:21:33 +0000 (16:21 +0900)
(cherry picked from commit 6ddf3b28ea695a4b8f3a9fd262a1a04331485686)

Conflicts:

frontend/src/saccubus/converter/filegetter/WebFileInstanciator.java

frontend/src/saccubus/converter/filegetter/WebFileInstanciator.java

index e53a5b9..fae7cae 100644 (file)
@@ -8,9 +8,9 @@ import saccubus.ConvertStopFlag;
 import saccubus.converter.profile.Proxy;
 import saccubus.net.CommentInfo;
 import saccubus.net.NicoClient;
-import saccubus.net.NicoClientImpl;
 import saccubus.net.VideoInfo;
 import saccubus.util.WayBackTimeParser;
+import yukihane.inqubus.saccubus_adapter.NicoBrowserAdapter;
 
 /**
  * 動画ファイル, コメントファイルなど必要なファイルのうち, 1つでもダウンロード処理を必要とする場合のインスタンス化クラス.
@@ -45,8 +45,7 @@ public class WebFileInstanciator extends FileInstanciator {
             host = null;
             port = -1;
         }
-        // TODO Implを直接newしている
-        client = new NicoClientImpl(li.getMail(), li.getPass(), stopFlag, host, port) {
+        client = new NicoBrowserAdapter(li.getMail(), li.getPass(), stopFlag, host, port) {
         };
 
         if (!client.isLoggedIn()) {