#ifndef IOS_WEB_CONTENT_CONTENT_THREAD_IMPL_H_
#define IOS_WEB_CONTENT_CONTENT_THREAD_IMPL_H_
#include "ios/web/public/thread/web_thread.h"
namespace web {
class ContentThreadImpl : public WebThread {
public:
static scoped_refptr<base::SingleThreadTaskRunner> GetUIThreadTaskRunner(
const WebTaskTraits& traits);
static scoped_refptr<base::SingleThreadTaskRunner> GetIOThreadTaskRunner(
const WebTaskTraits& traits);
static bool IsThreadInitialized(ID identifier);
static bool CurrentlyOn(ID identifier);
static std::string GetCurrentlyOnErrorMessage(ID expected);
static bool GetCurrentThreadIdentifier(ID* identifier);
};
}
#endif