| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_H_ | 5 #ifndef WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_H_ |
| 6 #define WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_H_ | 6 #define WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLLoader.h" | 10 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
| 11 | 11 |
| 12 namespace WebKit { | 12 namespace WebKit { |
| 13 class WebData; | 13 class WebData; |
| 14 struct WebURLError; | 14 struct WebURLError; |
| 15 class WebURLLoaderClient; | 15 class WebURLLoaderClient; |
| 16 class WebURLRequest; | 16 class WebURLRequest; |
| 17 class WebURLResponse; | 17 class WebURLResponse; |
| 18 } | 18 } |
| 19 | 19 |
| 20 class WebURLLoaderMockFactory; | 20 class WebURLLoaderMockFactory; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 WebURLLoaderMockFactory* factory_; | 55 WebURLLoaderMockFactory* factory_; |
| 56 WebKit::WebURLLoaderClient* client_; | 56 WebKit::WebURLLoaderClient* client_; |
| 57 scoped_ptr<WebKit::WebURLLoader> default_loader_; | 57 scoped_ptr<WebKit::WebURLLoader> default_loader_; |
| 58 bool using_default_loader_; | 58 bool using_default_loader_; |
| 59 bool is_deferred_; | 59 bool is_deferred_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderMock); | 61 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderMock); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 #endif // WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_H_ | 64 #endif // WEBKIT_SUPPORT_WEBURL_LOADER_MOCK_H_ |
| OLD | NEW |