libcef: Update due to underlying chromium changes.

- WebKit API changes.
- Use net::ProxyConfigService in BrowserRequestContext.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@61 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2009-10-25 19:29:12 +00:00
parent 5186e4a223
commit dc602cd0a4
7 changed files with 32 additions and 15 deletions

View File

@@ -481,9 +481,16 @@ WebMediaPlayer* BrowserWebViewDelegate::createMediaPlayer(
base::GetCurrentProcId(),
appcache::kNoHostId,
0);
factory->AddFactory(webkit_glue::BufferedDataSource::CreateFactory(
MessageLoop::current(), bridge_factory));
// TODO(hclam): Use command line switch to determine which data source to use.
// A simple data source that keeps all data in memory.
media::FilterFactory* simple_data_source_factory =
webkit_glue::SimpleDataSource::CreateFactory(MessageLoop::current(),
bridge_factory);
// A sophisticated data source that does memory caching.
media::FilterFactory* buffered_data_source_factory =
webkit_glue::BufferedDataSource::CreateFactory(MessageLoop::current(),
bridge_factory);
factory->AddFactory(buffered_data_source_factory);
factory->AddFactory(simple_data_source_factory);
return new webkit_glue::WebMediaPlayerImpl(client, factory);
}