text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.TizenBridge = undefined;
  
  var _Actions;
  
  function _load_Actions() {
    return _Actions = _interopRequireWildcard(require('../redux/Actions'));
  }
  
  var _nuclideRemoteConnection;
  
  function _load_nuclideRemoteConnection() {
    return _nuclideRemoteConnection = require('../../../nuclide-remote-connection');
  }
  
  var _DevicePoller;
  
  function _load_DevicePoller() {
    return _DevicePoller = require('../../../nuclide-adb-sdb-base/lib/DevicePoller');
  }
  
  var _rxjsBundlesRxMinJs = require('rxjs/bundles/Rx.min.js');
  
  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
  
  /**
   * Copyright (c) 2015-present, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the license found in the LICENSE file in
   * the root directory of this source tree.
   *
   * 
   * @format
   */
  
  class TizenBridge {
  
    constructor(store) {
      this.debugBridge = 'sdb';
      this.name = 'tizen';
  
      this._store = store;
    }
  
    getService(host) {
      return (0, (_nuclideRemoteConnection || _load_nuclideRemoteConnection()).getSdbServiceByNuclideUri)(host);
    }
  
    getCustomDebugBridgePath(host) {
      return this._store.getState().customSdbPaths.get(host);
    }
  
    setCustomDebugBridgePath(host, path) {
      this._store.dispatch((_Actions || _load_Actions()).setCustomSdbPath(host, path));
    }
  
    getFullConfig(host) {
      return this.getService(host).getFullConfig();
    }
  
    observeDevicesX(host) {
      return (0, (_DevicePoller || _load_DevicePoller()).observeTizenDevicesX)(host);
    }
  }
  exports.TizenBridge = TizenBridge;