| 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 CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 int child_id, | 43 int child_id, |
| 44 int route_id, | 44 int route_id, |
| 45 const std::string& method, | 45 const std::string& method, |
| 46 const GURL& url, | 46 const GURL& url, |
| 47 ResourceType::Type resource_type, | 47 ResourceType::Type resource_type, |
| 48 content::ResourceContext* resource_context, | 48 content::ResourceContext* resource_context, |
| 49 const content::Referrer& referrer) OVERRIDE; | 49 const content::Referrer& referrer) OVERRIDE; |
| 50 virtual void RequestBeginning( | 50 virtual void RequestBeginning( |
| 51 net::URLRequest* request, | 51 net::URLRequest* request, |
| 52 content::ResourceContext* resource_context, | 52 content::ResourceContext* resource_context, |
| 53 appcache::AppCacheService* appcache_service, |
| 53 ResourceType::Type resource_type, | 54 ResourceType::Type resource_type, |
| 54 int child_id, | 55 int child_id, |
| 55 int route_id, | 56 int route_id, |
| 56 bool is_continuation_of_transferred_request, | 57 bool is_continuation_of_transferred_request, |
| 57 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; | 58 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; |
| 58 virtual void DownloadStarting( | 59 virtual void DownloadStarting( |
| 59 net::URLRequest* request, | 60 net::URLRequest* request, |
| 60 content::ResourceContext* resource_context, | 61 content::ResourceContext* resource_context, |
| 61 int child_id, | 62 int child_id, |
| 62 int route_id, | 63 int route_id, |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // This consists of a list of valid IDs, and the actual transmitted header. | 132 // This consists of a list of valid IDs, and the actual transmitted header. |
| 132 // Note that since this cache is both initialized and accessed from the IO | 133 // Note that since this cache is both initialized and accessed from the IO |
| 133 // thread, we do not need to synchronize its uses. | 134 // thread, we do not need to synchronize its uses. |
| 134 std::set<chrome_variations::VariationID> variation_ids_set_; | 135 std::set<chrome_variations::VariationID> variation_ids_set_; |
| 135 std::string variation_ids_header_; | 136 std::string variation_ids_header_; |
| 136 | 137 |
| 137 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 138 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
| 138 }; | 139 }; |
| 139 | 140 |
| 140 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 141 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
| OLD | NEW |