зеркало из https://github.com/mozilla/pjs.git
Adding new interface to build for bug 81384. r=valeski@netscape.com, sr=darin@netscape.com.
This commit is contained in:
Родитель
7e6a5aedfb
Коммит
e7acdf64e3
|
@ -32,3 +32,4 @@ nsISecurityEventSink.idl
|
|||
nsISecretDecoderRing.idl
|
||||
nsISecureBrowserUI.idl
|
||||
nsISecurityManagerComponent.idl
|
||||
nsIByteRangeRequest.idl
|
||||
|
|
|
@ -68,6 +68,7 @@ XPIDLSRCS = \
|
|||
nsISecureBrowserUI.idl \
|
||||
nsISecurityManagerComponent.idl \
|
||||
nsICachingChannel.idl \
|
||||
nsIByteRangeRequest.idl \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
|
|
|
@ -72,6 +72,7 @@ XPIDLSRCS = \
|
|||
.\nsISecureBrowserUI.idl \
|
||||
.\nsISecurityManagerComponent.idl \
|
||||
.\nsICachingChannel.idl \
|
||||
.\nsIByteRangeRequest.idl \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)/config/rules.mak>
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Doug Turner <dougt@netscape.com>
|
||||
*/
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[scriptable, uuid(39befdb9-fa76-469b-85dc-a617b81f26eb)]
|
||||
interface nsIByteRangeRequest : nsISupports
|
||||
{
|
||||
/**
|
||||
* Returns true IFF this request is a byte range request, otherwise it
|
||||
* returns false (This is effectively the same as checking to see if
|
||||
* |startRequest| is zero and |endRange| is the content length.)
|
||||
*/
|
||||
readonly attribute boolean isByteRangeRequest;
|
||||
|
||||
/**
|
||||
* Absolute start position in remote file for this request.
|
||||
*/
|
||||
readonly attribute long startRange;
|
||||
|
||||
/**
|
||||
* Absolute end postion in remote file for this request
|
||||
*/
|
||||
readonly attribute long endRange;
|
||||
};
|
Загрузка…
Ссылка в новой задаче