Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: net/websockets/websocket_deflate_predictor_impl.cc

Issue 39193005: Introduce WebSocketDeflatePredictor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "base/basictypes.h"
6 #include "base/memory/scoped_ptr.h"
7 #include "base/memory/scoped_vector.h"
8 #include "net/websockets/websocket_deflate_predictor_impl.h"
9
10 namespace net {
11
12 typedef WebSocketDeflatePredictor::Result Result;
13
14 Result WebSocketDeflatePredictorImpl::Predict(
15 const ScopedVector<WebSocketFrame>& frames,
16 size_t frame_index) {
17 return DEFLATE;
18 }
19
20 void WebSocketDeflatePredictorImpl::RecordProcessedDataFrame(
21 const WebSocketFrame* frame) {}
22
23 void WebSocketDeflatePredictorImpl::RecordSentDataFrame(
24 const WebSocketFrame* frame) {}
25
26 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698