summaryrefslogtreecommitdiffstats
path: root/webkit/glue/unittest_test_server.h
blob: 575f0f99414dc2ba8ad07ec90973ed6398d9b198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__
#define WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__

#include "net/base/load_flags.h"
#include "net/test/test_server.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/appcache/appcache_interfaces.h"

class UnittestTestServer : public net::TestServer {
 public:
  UnittestTestServer()
      : net::TestServer(net::TestServer::TYPE_HTTP,
                        FilePath(FILE_PATH_LITERAL("webkit/data"))) {
  }
};

#endif  // WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__