blob: 3a4e872feeb36796a2220fe9e8e3bcee3d67b27a [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_WEB_WEB_THREAD_ADAPTER_H_
#define IOS_WEB_WEB_THREAD_ADAPTER_H_
#include "content/public/browser/browser_thread.h"
#include "ios/web/public/web_thread.h"
namespace web {
// Converts web::WebThread::ID to content::BrowserThread::ID.
content::BrowserThread::ID BrowserThreadIDFromWebThreadID(
WebThread::ID identifier);
} // namespace web
#endif // IOS_WEB_WEB_THREAD_ADAPTER_H_