Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / webkit / glue / unittest_test_server.h
blob815e62b94aaa176bbb3b61956a5e2dcba6af1719
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 WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__
6 #define WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__
8 #include "net/base/load_flags.h"
9 #include "net/test/test_server.h"
10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "webkit/appcache/appcache_interfaces.h"
13 class UnittestTestServer : public net::TestServer {
14 public:
15 UnittestTestServer()
16 : net::TestServer(net::TestServer::TYPE_HTTP,
17 net::TestServer::kLocalhost,
18 base::FilePath(FILE_PATH_LITERAL("webkit/data"))) {
22 #endif // WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__