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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 net::SSLCertRequestInfo* cert_request_info) OVERRIDE; | 66 net::SSLCertRequestInfo* cert_request_info) OVERRIDE; |
67 virtual bool AcceptAuthRequest(net::URLRequest* request, | 67 virtual bool AcceptAuthRequest(net::URLRequest* request, |
68 net::AuthChallengeInfo* auth_info) OVERRIDE; | 68 net::AuthChallengeInfo* auth_info) OVERRIDE; |
69 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 69 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
70 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; | 70 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; |
71 virtual void HandleExternalProtocol(const GURL& url, | 71 virtual void HandleExternalProtocol(const GURL& url, |
72 int child_id, | 72 int child_id, |
73 int route_id) OVERRIDE; | 73 int route_id) OVERRIDE; |
74 virtual bool ShouldForceDownloadResource( | 74 virtual bool ShouldForceDownloadResource( |
75 const GURL& url, const std::string& mime_type) OVERRIDE; | 75 const GURL& url, const std::string& mime_type) OVERRIDE; |
76 virtual void OnResponseStarted( | 76 virtual void OnResponseStarted(net::URLRequest* request, |
77 net::URLRequest* request, | 77 content::ResourceResponse* response, |
78 content::ResourceResponse* response, | 78 IPC::Sender* sender) OVERRIDE; |
79 IPC::Message::Sender* sender) OVERRIDE; | |
80 virtual void OnRequestRedirected( | 79 virtual void OnRequestRedirected( |
81 net::URLRequest* request, | 80 net::URLRequest* request, |
82 content::ResourceResponse* response) OVERRIDE; | 81 content::ResourceResponse* response) OVERRIDE; |
83 | 82 |
84 // base::FieldTrialList::Observer implementation. | 83 // base::FieldTrialList::Observer implementation. |
85 // This will add the variation ID associated with |trial_name| and | 84 // This will add the variation ID associated with |trial_name| and |
86 // |group_name| to the variation ID cache. | 85 // |group_name| to the variation ID cache. |
87 virtual void OnFieldTrialGroupFinalized( | 86 virtual void OnFieldTrialGroupFinalized( |
88 const std::string& trial_name, | 87 const std::string& trial_name, |
89 const std::string& group_name) OVERRIDE; | 88 const std::string& group_name) OVERRIDE; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // This consists of a list of valid IDs, and the actual transmitted header. | 125 // This consists of a list of valid IDs, and the actual transmitted header. |
127 // Note that since this cache is both initialized and accessed from the IO | 126 // Note that since this cache is both initialized and accessed from the IO |
128 // thread, we do not need to synchronize its uses. | 127 // thread, we do not need to synchronize its uses. |
129 std::set<chrome_variations::ID> variation_ids_set_; | 128 std::set<chrome_variations::ID> variation_ids_set_; |
130 std::string variation_ids_header_; | 129 std::string variation_ids_header_; |
131 | 130 |
132 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 131 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
133 }; | 132 }; |
134 | 133 |
135 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 134 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
OLD | NEW |