~ci-train-bot/content-hub/content-hub-ubuntu-zesty-2129

« back to all changes in this revision

Viewing changes to src/com/ubuntu/content/service/registry.cpp

New upstream version to reflect addition of the out of process
peer picker

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
cuc::Type mime_to_wellknown_type (const char * type)
33
33
{
34
 
    TRACE() << Q_FUNC_INFO << "TYPE:" << type;
35
 
 
36
34
    if (QString(type).contains("document"))
37
35
        return cuc::Type::Known::documents();
38
36
    else if (g_str_has_prefix (type, "x-scheme-handler/http"))