- add sources.
[platform/framework/web/crosswalk.git] / src / net / websockets / websocket_test_util.h
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 #ifndef NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_
7
8 #include "base/basictypes.h"
9
10 namespace net {
11
12 class LinearCongruentialGenerator {
13  public:
14   explicit LinearCongruentialGenerator(uint32 seed);
15   uint32 Generate();
16
17  private:
18   uint64 current_;
19 };
20
21 }  // namespace net
22
23 #endif  // NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_