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 CONTENT_TEST_WEBURL_LOADER_MOCK_H_ | 5 #ifndef CONTENT_TEST_WEBURL_LOADER_MOCK_H_ |
6 #define CONTENT_TEST_WEBURL_LOADER_MOCK_H_ | 6 #define CONTENT_TEST_WEBURL_LOADER_MOCK_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 11 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 class WebData; | 14 class WebData; |
15 struct WebURLError; | 15 struct WebURLError; |
16 class WebURLLoaderClient; | 16 class WebURLLoaderClient; |
17 class WebURLLoaderTestDelegate; | 17 class WebURLLoaderTestDelegate; |
18 class WebURLRequest; | 18 class WebURLRequest; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 scoped_ptr<blink::WebURLLoader> default_loader_; | 63 scoped_ptr<blink::WebURLLoader> default_loader_; |
64 bool using_default_loader_; | 64 bool using_default_loader_; |
65 bool is_deferred_; | 65 bool is_deferred_; |
66 | 66 |
67 base::WeakPtrFactory<WebURLLoaderMock> weak_factory_; | 67 base::WeakPtrFactory<WebURLLoaderMock> weak_factory_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderMock); | 69 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderMock); |
70 }; | 70 }; |
71 | 71 |
72 #endif // CONTENT_TEST_WEBURL_LOADER_MOCK_H_ | 72 #endif // CONTENT_TEST_WEBURL_LOADER_MOCK_H_ |
OLD | NEW |