Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: chrome/browser/extensions/extension_webrequest_api_constants.cc

Issue 6698009: Add request_id to HttpRequestInfo and pass it to the NetworkDelegate for events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delegate callbcak Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_webrequest_api_constants.h" 5 #include "chrome/browser/extensions/extension_webrequest_api_constants.h"
6 6
7 namespace extension_webrequest_api_constants { 7 namespace extension_webrequest_api_constants {
8 8
9 const char kErrorKey[] = "error"; 9 const char kErrorKey[] = "error";
10 const char kIpKey[] = "ip"; 10 const char kIpKey[] = "ip";
11 const char kMethodKey[] = "method"; 11 const char kMethodKey[] = "method";
12 const char kRedirectUrlKey[] = "redirectUrl"; 12 const char kRedirectUrlKey[] = "redirectUrl";
13 const char kRequestIdKey[] = "requestId"; 13 const char kRequestIdKey[] = "requestId";
14 const char kStatusCodeKey[] = "statusCode"; 14 const char kStatusCodeKey[] = "statusCode";
15 const char kTabIdKey[] = "tabId"; 15 const char kTabIdKey[] = "tabId";
16 const char kTimeStampKey[] = "timeStamp"; 16 const char kTimeStampKey[] = "timeStamp";
17 const char kTypeKey[] = "type"; 17 const char kTypeKey[] = "type";
18 const char kUrlKey[] = "url"; 18 const char kUrlKey[] = "url";
19 19
20 const char kOnBeforeRedirect[] = "experimental.webRequest.onBeforeRedirect"; 20 const char kOnBeforeRedirect[] = "experimental.webRequest.onBeforeRedirect";
21 const char kOnBeforeRequest[] = "experimental.webRequest.onBeforeRequest"; 21 const char kOnBeforeRequest[] = "experimental.webRequest.onBeforeRequest";
22 const char kOnBeforeSendHeaders[] =
23 "experimental.webRequest.onBeforeSendHeaders";
22 const char kOnCompleted[] = "experimental.webRequest.onCompleted"; 24 const char kOnCompleted[] = "experimental.webRequest.onCompleted";
23 const char kOnErrorOccurred[] = "experimental.webRequest.onErrorOccurred"; 25 const char kOnErrorOccurred[] = "experimental.webRequest.onErrorOccurred";
24 const char kOnHeadersReceived[] = "experimental.webRequest.onHeadersReceived"; 26 const char kOnHeadersReceived[] = "experimental.webRequest.onHeadersReceived";
25 const char kOnRequestSent[] = "experimental.webRequest.onRequestSent"; 27 const char kOnRequestSent[] = "experimental.webRequest.onRequestSent";
26 28
27 } // namespace extension_webrequest_api_constants 29 } // namespace extension_webrequest_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698