| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ | 6 #define CONTENT_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 10 #include "content/browser/loader/layered_resource_handler.h" | 11 #include "content/browser/loader/layered_resource_handler.h" |
| 11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 12 #include "net/url_request/url_request_status.h" | 13 #include "net/url_request/url_request_status.h" |
| 13 | 14 |
| 14 namespace net { | 15 namespace net { |
| 15 class URLRequest; | 16 class URLRequest; |
| 16 } | 17 } |
| 17 | 18 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // PostTaskAndReplyWithResult. If a transfer is needed, it goes back to the UI | 90 // PostTaskAndReplyWithResult. If a transfer is needed, it goes back to the UI |
| 90 // thread. This can be removed once the code is changed to only do one hop. | 91 // thread. This can be removed once the code is changed to only do one hop. |
| 91 base::WeakPtrFactory<CrossSiteResourceHandler> weak_ptr_factory_; | 92 base::WeakPtrFactory<CrossSiteResourceHandler> weak_ptr_factory_; |
| 92 | 93 |
| 93 DISALLOW_COPY_AND_ASSIGN(CrossSiteResourceHandler); | 94 DISALLOW_COPY_AND_ASSIGN(CrossSiteResourceHandler); |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 } // namespace content | 97 } // namespace content |
| 97 | 98 |
| 98 #endif // CONTENT_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ | 99 #endif // CONTENT_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ |
| OLD | NEW |