| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_SUPPORT_WEBURL_LOADER_MOCK_FACTORY_H_ | 5 #ifndef WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_FACTORY_H_ |
| 6 #define WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_FACTORY_H_ | 6 #define WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_FACTORY_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | |
| 10 | 9 |
| 11 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| 12 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
| 13 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" |
| 14 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" |
| 15 | 14 |
| 16 namespace WebKit { | 15 namespace WebKit { |
| 17 class WebData; | 16 class WebData; |
| 18 struct WebURLError; | 17 struct WebURLError; |
| 19 class WebURLLoader; | 18 class WebURLLoader; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 89 |
| 91 // Table of the registered URLs and the responses that they should receive. | 90 // Table of the registered URLs and the responses that they should receive. |
| 92 typedef std::map<WebKit::WebURL, ResponseInfo> URLToResponseMap; | 91 typedef std::map<WebKit::WebURL, ResponseInfo> URLToResponseMap; |
| 93 URLToResponseMap url_to_reponse_info_; | 92 URLToResponseMap url_to_reponse_info_; |
| 94 | 93 |
| 95 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderMockFactory); | 94 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderMockFactory); |
| 96 }; | 95 }; |
| 97 | 96 |
| 98 #endif // WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_FACTORY_H_ | 97 #endif // WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_FACTORY_H_ |
| 99 | 98 |
| OLD | NEW |