aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GeckoCookiePromptService.h
blob: 7092a298272f67be826e442b43378cc42eee9523 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 *  Copyright (C) 2003 Tommi Komulainen <tommi.komulainen@iki.fi>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2
 *  as published by the Free Software Foundation.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 *  $Id$
 */ 

#ifndef COOKIEPROMPTSERVICE_H
#define COOKIEPROMPTSERVICE_H

#include <nsICookiePromptService.h>

/* 50766a18-0b34-41d9-8f6c-4612200e6556 */
#define EPHY_COOKIEPROMPTSERVICE_CID \
  { 0x50766a18, 0x0b34, 0x41d9, { 0x8f, 0x6c, 0x46, 0x12, 0x20, 0x0e, 0x65, 0x56 } }

#define EPHY_COOKIEPROMPTSERVICE_CLASSNAME  "Epiphany Cookie Prompt Service"
#define EPHY_COOKIEPROMPTSERVICE_CONTRACTID "@mozilla.org/embedcomp/cookieprompt-service;1"

class GeckoCookiePromptService : public nsICookiePromptService {
  public:
    NS_DECL_ISUPPORTS
    NS_DECL_NSICOOKIEPROMPTSERVICE

    GeckoCookiePromptService();

  private:
    ~GeckoCookiePromptService();
};

#endif /* COOKIEPROMPTSERVICE_H */