~jeremy-whiting/zeitgeist-datasources/telepathyuris

« back to all changes in this revision

Viewing changes to firefox-40-libzg/extension/components/ZeitgeistModule.cpp

  • Committer: Siegfried-Angel Gevatter Pujals
  • Date: 2011-06-18 15:13:43 UTC
  • Revision ID: siegfried@gevatter.com-20110618151343-w3vzew7quatvm4bj
Firefox 4 extension: implement subject origin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 *
5
5
 * Copyright (C) 2010 - Markus Korn <thekorn@gmx.de>
6
6
 * Copyright (C) 2010 - Michal Hruby <michal.mhr@gmail.com>
 
7
 * Copyright (C) 2011 - Collabora Ltd.
 
8
 *                      By Siegfried-A. Gevatter <siegfried@gevatter.com>
7
9
 *
8
10
 * zeitgeist dataprovider for firefox is free software; you can redistribute it and/or
9
11
 * modify it under the terms of the GNU Lesser General Public
49
51
 
50
52
NS_IMETHODIMP zeitgeistextend::Insert(const char *url,
51
53
                                      const char *mimetype,
52
 
                                      const nsACString &title_str)
 
54
                                      const nsACString &title_str,
 
55
                                      const char *origin)
53
56
{
54
57
        ZeitgeistEvent          *event;
55
58
        gchar                           *title = NULL;
71
74
                                ZEITGEIST_NFO_WEBSITE,
72
75
                                ZEITGEIST_NFO_REMOTE_DATA_OBJECT,
73
76
                                mimetype,
74
 
                                url,
 
77
                                origin,
75
78
                                title,
76
79
                                "net"),
77
80
        NULL);