~ubuntu-branches/ubuntu/lucid/webkit/lucid-updates

« back to all changes in this revision

Viewing changes to WebCore/platform/KURL.h

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2010-02-04 19:30:57 UTC
  • mfrom: (1.2.8 upstream) (4.3.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100204193057-d3018lm1fipb0703
* New upstream release
* debian/copyright:
- Updated with changes since 1.1.19.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
    bool protocolInHTTPFamily() const;
145
145
    bool isLocalFile() const;
146
146
 
147
 
    void setProtocol(const String&);
 
147
    bool setProtocol(const String&);
148
148
    void setHost(const String&);
149
149
 
150
150
    void removePort();
266
266
 
267
267
bool protocolIs(const String& url, const char* protocol);
268
268
bool protocolIsJavaScript(const String& url);
269
 
bool isValidProtocol(const String& protocol);
270
269
 
271
270
bool isDefaultPortForProtocol(unsigned short port, const String& protocol);
272
271
bool portAllowed(const KURL&); // Blacklist ports that should never be used for Web resources.