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

Side by Side Diff: chrome/renderer/renderer_glue.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: use system srp and mpi libs, not local copies Created 9 years, 8 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file provides the embedder's side of random webkit glue functions. 5 // This file provides the embedder's side of random webkit glue functions.
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 if (!RenderThread::current()->plugin_refresh_allowed()) 211 if (!RenderThread::current()->plugin_refresh_allowed())
212 refresh = false; 212 refresh = false;
213 RenderThread::current()->Send(new ViewHostMsg_GetPlugins(refresh, plugins)); 213 RenderThread::current()->Send(new ViewHostMsg_GetPlugins(refresh, plugins));
214 } 214 }
215 215
216 bool IsProtocolSupportedForMedia(const GURL& url) { 216 bool IsProtocolSupportedForMedia(const GURL& url) {
217 // If new protocol is to be added here, we need to make sure the response is 217 // If new protocol is to be added here, we need to make sure the response is
218 // validated accordingly in the media engine. 218 // validated accordingly in the media engine.
219 if (url.SchemeIsFile() || url.SchemeIs(chrome::kHttpScheme) || 219 if (url.SchemeIsFile() || url.SchemeIs(chrome::kHttpScheme) ||
220 url.SchemeIs(chrome::kHttpsScheme) || 220 url.SchemeIs(chrome::kHttpsScheme) ||
221 url.SchemeIs(chrome::kHttpsvScheme) ||
221 url.SchemeIs(chrome::kDataScheme) || 222 url.SchemeIs(chrome::kDataScheme) ||
222 url.SchemeIs(chrome::kExtensionScheme) || 223 url.SchemeIs(chrome::kExtensionScheme) ||
223 url.SchemeIs(chrome::kBlobScheme)) 224 url.SchemeIs(chrome::kBlobScheme))
224 return true; 225 return true;
225 return false; 226 return false;
226 } 227 }
227 228
228 // static factory function 229 // static factory function
229 ResourceLoaderBridge* ResourceLoaderBridge::Create( 230 ResourceLoaderBridge* ResourceLoaderBridge::Create(
230 const ResourceLoaderBridge::RequestInfo& request_info) { 231 const ResourceLoaderBridge::RequestInfo& request_info) {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 } 314 }
314 315
315 bool GetFontTable(int fd, uint32_t table, uint8_t* output, 316 bool GetFontTable(int fd, uint32_t table, uint8_t* output,
316 size_t* output_length) { 317 size_t* output_length) {
317 return renderer_sandbox_support::GetFontTable( 318 return renderer_sandbox_support::GetFontTable(
318 fd, table, output, output_length); 319 fd, table, output, output_length);
319 } 320 }
320 #endif 321 #endif
321 322
322 } // namespace webkit_glue 323 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | net/base/auth.h » ('j') | net/third_party/nss/ssl.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698