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

Side by Side Diff: chromecast/browser/cast_content_browser_client.h

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing unused function in Android. Created 5 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 CastContentBrowserClient(); 166 CastContentBrowserClient();
167 167
168 URLRequestContextFactory* url_request_context_factory() const { 168 URLRequestContextFactory* url_request_context_factory() const {
169 return url_request_context_factory_.get(); 169 return url_request_context_factory_.get();
170 } 170 }
171 171
172 private: 172 private:
173 void AddNetworkHintsMessageFilter(int render_process_id, 173 void AddNetworkHintsMessageFilter(int render_process_id,
174 net::URLRequestContext* context); 174 net::URLRequestContext* context);
175 175
176 net::X509Certificate* SelectClientCertificateOnIOThread( 176 void SelectClientCertificateOnIOThread(
177 scoped_ptr<content::ClientCertificateDelegate> delegate,
177 GURL requesting_url, 178 GURL requesting_url,
178 int render_process_id); 179 int render_process_id);
179 180
180 #if !defined(OS_ANDROID) 181 #if !defined(OS_ANDROID)
181 // Returns the crash signal FD corresponding to the current process type. 182 // Returns the crash signal FD corresponding to the current process type.
182 int GetCrashSignalFD(const base::CommandLine& command_line); 183 int GetCrashSignalFD(const base::CommandLine& command_line);
183 184
184 // Creates a CrashHandlerHost instance for the given process type. 185 // Creates a CrashHandlerHost instance for the given process type.
185 breakpad::CrashHandlerHostLinux* CreateCrashHandlerHost( 186 breakpad::CrashHandlerHostLinux* CreateCrashHandlerHost(
186 const std::string& process_type); 187 const std::string& process_type);
187 188
188 // A static cache to hold crash_handlers for each process_type 189 // A static cache to hold crash_handlers for each process_type
189 std::map<std::string, breakpad::CrashHandlerHostLinux*> crash_handlers_; 190 std::map<std::string, breakpad::CrashHandlerHostLinux*> crash_handlers_;
190 #endif 191 #endif
191 192
192 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; 193 scoped_ptr<URLRequestContextFactory> url_request_context_factory_;
193 194
194 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 195 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
195 }; 196 };
196 197
197 } // namespace shell 198 } // namespace shell
198 } // namespace chromecast 199 } // namespace chromecast
199 200
200 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 201 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698