Merge html-office-public repo into src
[chromium-blink-merge.git] / chrome / test / chromedriver / net / sync_websocket_factory.h
blob9b9f0de14293a4879bb4c995f693ce585c01bd67
1 // Copyright (c) 2012 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 CHROME_TEST_CHROMEDRIVER_NET_SYNC_WEBSOCKET_FACTORY_H_
6 #define CHROME_TEST_CHROMEDRIVER_NET_SYNC_WEBSOCKET_FACTORY_H_
8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h"
11 class SyncWebSocket;
12 class URLRequestContextGetter;
14 typedef base::Callback<scoped_ptr<SyncWebSocket>()> SyncWebSocketFactory;
16 SyncWebSocketFactory CreateSyncWebSocketFactory(
17 URLRequestContextGetter* getter);
19 #endif // CHROME_TEST_CHROMEDRIVER_NET_SYNC_WEBSOCKET_FACTORY_H_