1// Copyright (c) 2011 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "chrome/browser/extensions/extension_webrequest_api_constants.h" 6 7namespace extension_webrequest_api_constants { 8 9const char kErrorKey[] = "error"; 10const char kIpKey[] = "ip"; 11const char kMethodKey[] = "method"; 12const char kRedirectUrlKey[] = "redirectUrl"; 13const char kRequestIdKey[] = "requestId"; 14const char kStatusCodeKey[] = "statusCode"; 15const char kTabIdKey[] = "tabId"; 16const char kTimeStampKey[] = "timeStamp"; 17const char kTypeKey[] = "type"; 18const char kUrlKey[] = "url"; 19 20const char kOnBeforeRedirect[] = "experimental.webRequest.onBeforeRedirect"; 21const char kOnBeforeRequest[] = "experimental.webRequest.onBeforeRequest"; 22const char kOnBeforeSendHeaders[] = 23 "experimental.webRequest.onBeforeSendHeaders"; 24const char kOnCompleted[] = "experimental.webRequest.onCompleted"; 25const char kOnErrorOccurred[] = "experimental.webRequest.onErrorOccurred"; 26const char kOnHeadersReceived[] = "experimental.webRequest.onHeadersReceived"; 27const char kOnRequestSent[] = "experimental.webRequest.onRequestSent"; 28 29const char kInvalidRedirectUrl[] = "redirectUrl '*' is not a valid URL."; 30 31} // namespace extension_webrequest_api_constants 32