Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / net / websockets / websocket_deflate_predictor_impl.h
blob680ec56290ae539cd709cb588d2d42c543d70ef9
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PREDICTOR_IMPL_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PREDICTOR_IMPL_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_vector.h"
11 #include "net/base/net_export.h"
12 #include "net/websockets/websocket_deflate_predictor.h"
14 namespace net {
16 struct WebSocketFrame;
18 class NET_EXPORT_PRIVATE WebSocketDeflatePredictorImpl
19 : public WebSocketDeflatePredictor {
20 public:
21 ~WebSocketDeflatePredictorImpl() override {}
23 Result Predict(const ScopedVector<WebSocketFrame>& frames,
24 size_t frame_index) override;
25 void RecordInputDataFrame(const WebSocketFrame* frame) override;
26 void RecordWrittenDataFrame(const WebSocketFrame* frame) override;
29 } // namespace net
31 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PREDICTOR_IMPL_H_