Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h

Issue 10264023: Revert 134625 - Transmit a X-Chrome-UMA-Enabled bit to Google domains from clients that have UMA en… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <vector> 9 #include <vector>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 private: 81 private:
82 void AppendStandardResourceThrottles( 82 void AppendStandardResourceThrottles(
83 const net::URLRequest* request, 83 const net::URLRequest* request,
84 content::ResourceContext* resource_context, 84 content::ResourceContext* resource_context,
85 int child_id, 85 int child_id,
86 int route_id, 86 int route_id,
87 ResourceType::Type resource_type, 87 ResourceType::Type resource_type,
88 ScopedVector<content::ResourceThrottle>* throttles); 88 ScopedVector<content::ResourceThrottle>* throttles);
89 89
90 // Adds Chrome experiment and metrics state as custom headers to |request|.
91 // This is a best-effort attempt, and does not interrupt the request if the
92 // headers can not be appended.
93 void AppendChromeMetricsHeaders(
94 net::URLRequest* request,
95 content::ResourceContext* resource_context,
96 ResourceType::Type resource_type);
97
98 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; 90 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
99 scoped_refptr<SafeBrowsingService> safe_browsing_; 91 scoped_refptr<SafeBrowsingService> safe_browsing_;
100 scoped_refptr<UserScriptListener> user_script_listener_; 92 scoped_refptr<UserScriptListener> user_script_listener_;
101 prerender::PrerenderTracker* prerender_tracker_; 93 prerender::PrerenderTracker* prerender_tracker_;
102 94
103 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 95 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
104 }; 96 };
105 97
106 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 98 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698