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

Side by Side Diff: webkit/glue/unittest_test_server.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/simple_webmimeregistry_impl.cc ('k') | webkit/glue/web_intent_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__ 5 #ifndef WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__
6 #define WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__ 6 #define WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__
7 7
8 #include "net/base/load_flags.h" 8 #include "net/base/load_flags.h"
9 #include "net/test/test_server.h" 9 #include "net/test/test_server.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "webkit/appcache/appcache_interfaces.h" 11 #include "webkit/appcache/appcache_interfaces.h"
12 12
13 class UnittestTestServer : public net::TestServer { 13 class UnittestTestServer : public net::TestServer {
14 public: 14 public:
15 UnittestTestServer() 15 UnittestTestServer()
16 : net::TestServer(net::TestServer::TYPE_HTTP, 16 : net::TestServer(net::TestServer::TYPE_HTTP,
17 net::TestServer::kLocalhost, 17 net::TestServer::kLocalhost,
18 FilePath(FILE_PATH_LITERAL("webkit/data"))) { 18 base::FilePath(FILE_PATH_LITERAL("webkit/data"))) {
19 } 19 }
20 }; 20 };
21 21
22 #endif // WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__ 22 #endif // WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__
OLDNEW
« no previous file with comments | « webkit/glue/simple_webmimeregistry_impl.cc ('k') | webkit/glue/web_intent_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698