root/chrome/browser/extensions/api/web_request/web_request_api_constants.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Constants used for the WebRequest API.

#ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_
#define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_

namespace extension_web_request_api_constants {

// Keys.
extern const char kChallengerKey[];
extern const char kErrorKey[];
extern const char kFrameIdKey[];
extern const char kParentFrameIdKey[];
extern const char kFromCache[];
extern const char kHostKey[];
extern const char kIpKey[];
extern const char kMethodKey[];
extern const char kPortKey[];
extern const char kRedirectUrlKey[];
extern const char kRequestIdKey[];
extern const char kStatusCodeKey[];
extern const char kStatusLineKey[];
extern const char kTabIdKey[];
extern const char kTimeStampKey[];
extern const char kTypeKey[];
extern const char kUrlKey[];
extern const char kRequestBodyKey[];
extern const char kRequestBodyErrorKey[];
extern const char kRequestBodyFormDataKey[];
extern const char kRequestBodyRawKey[];
extern const char kRequestBodyRawBytesKey[];
extern const char kRequestBodyRawFileKey[];
extern const char kPostDataKey[];
extern const char kPostDataFormKey[];
extern const char kRequestHeadersKey[];
extern const char kResponseHeadersKey[];
extern const char kHeadersKey[];
extern const char kHeaderNameKey[];
extern const char kHeaderValueKey[];
extern const char kHeaderBinaryValueKey[];
extern const char kIsProxyKey[];
extern const char kMessageKey[];
extern const char kSchemeKey[];
extern const char kStageKey[];
extern const char kRealmKey[];
extern const char kAuthCredentialsKey[];
extern const char kUsernameKey[];
extern const char kPasswordKey[];

// Events.
extern const char kOnAuthRequiredEvent[];
extern const char kOnBeforeRedirectEvent[];
extern const char kOnBeforeRequestEvent[];
extern const char kOnBeforeSendHeadersEvent[];
extern const char kOnCompletedEvent[];
extern const char kOnErrorOccurredEvent[];
extern const char kOnHeadersReceivedEvent[];
extern const char kOnResponseStartedEvent[];
extern const char kOnSendHeadersEvent[];

// Stages.
extern const char kOnAuthRequired[];
extern const char kOnBeforeRedirect[];
extern const char kOnBeforeRequest[];
extern const char kOnBeforeSendHeaders[];
extern const char kOnCompleted[];
extern const char kOnErrorOccurred[];
extern const char kOnHeadersReceived[];
extern const char kOnResponseStarted[];
extern const char kOnSendHeaders[];

// Error messages.
extern const char kInvalidRedirectUrl[];
extern const char kInvalidBlockingResponse[];
extern const char kInvalidRequestFilterUrl[];
extern const char kBlockingPermissionRequired[];
extern const char kHostPermissionsRequired[];
extern const char kInvalidHeaderKeyCombination[];
extern const char kInvalidHeader[];
extern const char kInvalidHeaderName[];
extern const char kInvalidHeaderValue[];

}  // namespace extension_web_request_api_constants

#endif  // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_

/* [<][>][^][v][top][bottom][index][help] */