sbBaseDeviceFirmwareHandler.cpp File Reference
#include "sbBaseDeviceFirmwareHandler.h"
#include <nsIChromeRegistry.h>
#include <nsIFileURL.h>
#include <nsIHttpChannel.h>
#include <nsIIOService.h>
#include <nsIScriptSecurityManager.h>
#include <nsArrayUtils.h>
#include <nsAutoLock.h>
#include <nsServiceManagerUtils.h>
#include <nsThreadUtils.h>
#include <prlog.h>
#include <sbIDevice.h>
#include <sbIDeviceEventTarget.h>
#include <sbProxiedComponentManager.h>
#include "sbDeviceFirmwareSupport.h"
#include "sbDeviceFirmwareUpdate.h"
Include dependency graph for sbBaseDeviceFirmwareHandler.cpp:

Go to the source code of this file.

Macros

#define TRACE(args)   /* nothing */
 
#define LOG(args)   /* nothing */
 

Functions

 NS_IMPL_THREADSAFE_ISUPPORTS2 (sbBaseDeviceFirmwareHandler, sbIDeviceFirmwareHandler, nsITimerCallback) sbBaseDeviceFirmwareHandler
 

Variables

static const PRInt32 HTTP_STATE_UNINITIALIZED = 0
 
static const PRInt32 HTTP_STATE_LOADING = 1
 
static const PRInt32 HTTP_STATE_LOADED = 2
 
static const PRInt32 HTTP_STATE_INTERACTIVE = 3
 
static const PRInt32 HTTP_STATE_COMPLETED = 4
 

Macro Definition Documentation

#define LOG (   args)    /* nothing */

Definition at line 60 of file sbBaseDeviceFirmwareHandler.cpp.

#define TRACE (   args)    /* nothing */

To log this module, set the following environment variable: NSPR_LOG_MODULES=sbBaseDeviceFirmwareHandler:5

Definition at line 59 of file sbBaseDeviceFirmwareHandler.cpp.

Function Documentation

NS_IMPL_THREADSAFE_ISUPPORTS2 ( sbBaseDeviceFirmwareHandler  ,
sbIDeviceFirmwareHandler  ,
nsITimerCallback   
)

Definition at line 69 of file sbBaseDeviceFirmwareHandler.cpp.

Variable Documentation

const PRInt32 HTTP_STATE_COMPLETED = 4
static

Definition at line 67 of file sbBaseDeviceFirmwareHandler.cpp.

const PRInt32 HTTP_STATE_INTERACTIVE = 3
static

Definition at line 66 of file sbBaseDeviceFirmwareHandler.cpp.

const PRInt32 HTTP_STATE_LOADED = 2
static

Definition at line 65 of file sbBaseDeviceFirmwareHandler.cpp.

const PRInt32 HTTP_STATE_LOADING = 1
static

Definition at line 64 of file sbBaseDeviceFirmwareHandler.cpp.

const PRInt32 HTTP_STATE_UNINITIALIZED = 0
static

Definition at line 63 of file sbBaseDeviceFirmwareHandler.cpp.