cef/libcef/browser_socket_stream_bridge.h
Marshall Greenblatt 1073577d03 Make CEF compliant with Google/Chromium style (issue #473).
- Add a new check_style tool based on Google's cpplint that can be used to verify compliance of pending changes and specific files/directories.
- Update existing CEF source code to be compliant with the style requirements.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@463 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-09 23:46:23 +00:00

37 lines
1015 B
C++

// Copyright (c) 2011 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 CEF_LIBCEF_BROWSER_SOCKET_STREAM_BRIDGE_H_
#define CEF_LIBCEF_BROWSER_SOCKET_STREAM_BRIDGE_H_
#pragma once
#include "base/basictypes.h"
namespace net {
class URLRequestContext;
} // namespace net
namespace WebKit {
class WebSocketStreamHandle;
} // namespace WebKit
namespace webkit_glue {
class WebSocketStreamHandleDelegate;
class WebSocketStreamHandleBridge;
} // namespace webkit_glue
class BrowserSocketStreamBridge {
public:
static void InitializeOnIOThread(net::URLRequestContext* request_context);
static void Cleanup();
static webkit_glue::WebSocketStreamHandleBridge* Create(
WebKit::WebSocketStreamHandle* handle,
webkit_glue::WebSocketStreamHandleDelegate* delegate);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(BrowserSocketStreamBridge);
};
#endif // CEF_LIBCEF_BROWSER_SOCKET_STREAM_BRIDGE_H_