| 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 CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_H_ | 5 #ifndef CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_ |
| 6 #define CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_H_ | 6 #define CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "content/public/renderer/resource_fetcher.h" | 15 #include "content/public/renderer/resource_fetcher.h" |
| 16 #include "content/renderer/fetchers/web_url_loader_client_impl.h" | 16 #include "content/renderer/fetchers/web_url_loader_client_impl.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 Callback callback_; | 70 Callback callback_; |
| 71 | 71 |
| 72 // Limit how long to wait for the server. | 72 // Limit how long to wait for the server. |
| 73 base::OneShotTimer<ResourceFetcherImpl> timeout_timer_; | 73 base::OneShotTimer<ResourceFetcherImpl> timeout_timer_; |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(ResourceFetcherImpl); | 75 DISALLOW_COPY_AND_ASSIGN(ResourceFetcherImpl); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace content | 78 } // namespace content |
| 79 | 79 |
| 80 #endif // CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_H_ | 80 #endif // CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_ |
| OLD | NEW |