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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove host_render_view_id Created 9 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 | 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 url.SchemeIs(chrome::kDataScheme) || 221 url.SchemeIs(chrome::kDataScheme) ||
222 url.SchemeIs(chrome::kExtensionScheme) || 222 url.SchemeIs(chrome::kExtensionScheme) ||
223 url.SchemeIs(chrome::kBlobScheme)) 223 url.SchemeIs(chrome::kBlobScheme))
224 return true; 224 return true;
225 return false; 225 return false;
226 } 226 }
227 227
228 // static factory function 228 // static factory function
229 ResourceLoaderBridge* ResourceLoaderBridge::Create( 229 ResourceLoaderBridge* ResourceLoaderBridge::Create(
230 const ResourceLoaderBridge::RequestInfo& request_info) { 230 const ResourceLoaderBridge::RequestInfo& request_info) {
231 return ChildThread::current()->CreateBridge(request_info, -1, -1); 231 return ChildThread::current()->CreateBridge(request_info);
232 } 232 }
233 233
234 // static factory function 234 // static factory function
235 WebSocketStreamHandleBridge* WebSocketStreamHandleBridge::Create( 235 WebSocketStreamHandleBridge* WebSocketStreamHandleBridge::Create(
236 WebKit::WebSocketStreamHandle* handle, 236 WebKit::WebSocketStreamHandle* handle,
237 WebSocketStreamHandleDelegate* delegate) { 237 WebSocketStreamHandleDelegate* delegate) {
238 SocketStreamDispatcher* dispatcher = 238 SocketStreamDispatcher* dispatcher =
239 ChildThread::current()->socket_stream_dispatcher(); 239 ChildThread::current()->socket_stream_dispatcher();
240 return dispatcher->CreateBridge(handle, delegate); 240 return dispatcher->CreateBridge(handle, delegate);
241 } 241 }
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 } 313 }
314 314
315 bool GetFontTable(int fd, uint32_t table, uint8_t* output, 315 bool GetFontTable(int fd, uint32_t table, uint8_t* output,
316 size_t* output_length) { 316 size_t* output_length) {
317 return renderer_sandbox_support::GetFontTable( 317 return renderer_sandbox_support::GetFontTable(
318 fd, table, output, output_length); 318 fd, table, output, output_length);
319 } 319 }
320 #endif 320 #endif
321 321
322 } // namespace webkit_glue 322 } // namespace webkit_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698