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

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

Issue 998513002: Revert of Remove OneClickSigninHelper since it is no longer used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ocl
Patch Set: Created 5 years, 9 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
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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 std::string view_id; 85 std::string view_id;
86 }; 86 };
87 #endif 87 #endif
88 88
89 void AppendStandardResourceThrottles( 89 void AppendStandardResourceThrottles(
90 net::URLRequest* request, 90 net::URLRequest* request,
91 content::ResourceContext* resource_context, 91 content::ResourceContext* resource_context,
92 content::ResourceType resource_type, 92 content::ResourceType resource_type,
93 ScopedVector<content::ResourceThrottle>* throttles); 93 ScopedVector<content::ResourceThrottle>* throttles);
94 94
95 #if defined(ENABLE_ONE_CLICK_SIGNIN)
96 // Append headers required to tell Gaia whether the sync interstitial
97 // should be shown or not. This header is only added for valid Gaia URLs.
98 void AppendChromeSyncGaiaHeader(
99 net::URLRequest* request,
100 content::ResourceContext* resource_context);
101 #endif
102
95 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; 103 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
96 scoped_refptr<SafeBrowsingService> safe_browsing_; 104 scoped_refptr<SafeBrowsingService> safe_browsing_;
97 #if defined(ENABLE_EXTENSIONS) 105 #if defined(ENABLE_EXTENSIONS)
98 scoped_refptr<extensions::UserScriptListener> user_script_listener_; 106 scoped_refptr<extensions::UserScriptListener> user_script_listener_;
99 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; 107 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_;
100 #endif 108 #endif
101 109
102 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 110 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
103 }; 111 };
104 112
105 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 113 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698