OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_TOOLS_TEST_SHELL_TEST_SHELL_REQUEST_CONTEXT_H__ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_REQUEST_CONTEXT_H__ |
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_REQUEST_CONTEXT_H__ | 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_REQUEST_CONTEXT_H__ |
7 | 7 |
8 #include "base/thread.h" | 8 #include "base/thread.h" |
9 #include "net/http/http_cache.h" | 9 #include "net/http/http_cache.h" |
10 #include "net/url_request/url_request_context.h" | 10 #include "net/url_request/url_request_context.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 net::HttpCache::Mode cache_mode, | 23 net::HttpCache::Mode cache_mode, |
24 bool no_proxy); | 24 bool no_proxy); |
25 | 25 |
26 virtual const std::string& GetUserAgent(const GURL& url) const; | 26 virtual const std::string& GetUserAgent(const GURL& url) const; |
27 | 27 |
28 private: | 28 private: |
29 ~TestShellRequestContext(); | 29 ~TestShellRequestContext(); |
30 | 30 |
31 void Init(const FilePath& cache_path, net::HttpCache::Mode cache_mode, | 31 void Init(const FilePath& cache_path, net::HttpCache::Mode cache_mode, |
32 bool no_proxy); | 32 bool no_proxy); |
33 | |
34 base::Thread cache_thread_; | |
35 }; | 33 }; |
36 | 34 |
37 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_REQUEST_CONTEXT_H__ | 35 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_REQUEST_CONTEXT_H__ |
OLD | NEW |