| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ | 5 #ifndef CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ |
| 6 #define CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ | 6 #define CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "chrome/test/base/in_process_browser_test.h" | 12 #include "chrome/test/base/in_process_browser_test.h" |
| 13 #include "content/public/browser/resource_dispatcher_host_delegate.h" | 13 #include "content/public/browser/resource_dispatcher_host_delegate.h" |
| 14 #include "content/public/common/resource_type.h" | 14 #include "content/public/common/resource_type.h" |
| 15 | 15 |
| 16 namespace base { | |
| 17 class FilePath; | |
| 18 } | |
| 19 | |
| 20 namespace net { | 16 namespace net { |
| 21 namespace test_server { | 17 namespace test_server { |
| 22 struct HttpRequest; | 18 struct HttpRequest; |
| 23 class HttpResponse; | 19 class HttpResponse; |
| 24 } | 20 } |
| 25 } | 21 } |
| 26 | 22 |
| 27 using content::ResourceDispatcherHostDelegate; | 23 using content::ResourceDispatcherHostDelegate; |
| 28 | 24 |
| 29 class TestDispatcherHostDelegate : public ResourceDispatcherHostDelegate { | 25 class TestDispatcherHostDelegate : public ResourceDispatcherHostDelegate { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 std::unique_ptr<net::test_server::HttpResponse> WatchForPexeFetch( | 62 std::unique_ptr<net::test_server::HttpResponse> WatchForPexeFetch( |
| 67 const net::test_server::HttpRequest& request); | 63 const net::test_server::HttpRequest& request); |
| 68 | 64 |
| 69 int noncors_loads_; | 65 int noncors_loads_; |
| 70 int cors_loads_; | 66 int cors_loads_; |
| 71 TestDispatcherHostDelegate test_delegate_; | 67 TestDispatcherHostDelegate test_delegate_; |
| 72 DISALLOW_COPY_AND_ASSIGN(PnaclHeaderTest); | 68 DISALLOW_COPY_AND_ASSIGN(PnaclHeaderTest); |
| 73 }; | 69 }; |
| 74 | 70 |
| 75 #endif // CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ | 71 #endif // CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ |
| OLD | NEW |