summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_webrequest_api_constants.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 08:06:02 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 08:06:02 +0000
commit1087a763ae4366d681d176e101d9cf029e63e0be (patch)
tree9a9020164e445bcbbbb6ddfef925121106d4f4f9 /chrome/browser/extensions/extension_webrequest_api_constants.cc
parent43d3bf86f38f57be9be0e9a90fcdb8dff9b62f59 (diff)
downloadchromium_src-1087a763ae4366d681d176e101d9cf029e63e0be.zip
chromium_src-1087a763ae4366d681d176e101d9cf029e63e0be.tar.gz
chromium_src-1087a763ae4366d681d176e101d9cf029e63e0be.tar.bz2
Unremoving the timeStamp property from webNavigation and webRequest extension APIs.
* Reverts r79631: "Remove the timeStamp property from the webNavigation extension API." * Reverts r79314: "Remove the timeStamp property from webRequest extension events." * Adds the `timeStamp` property to WebRequest's `onBeforeSendHeaders` event. * Updates documentation to note that the timestamps are only _internally_ consistent. Comparing timestamps to the extension's clock might result in Unexpected Events From The Futureā„¢. BUG=60101 TEST=browser_tests Review URL: http://codereview.chromium.org/6812047 Patch from Mike West <mkwst@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_webrequest_api_constants.cc')
-rw-r--r--chrome/browser/extensions/extension_webrequest_api_constants.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_webrequest_api_constants.cc b/chrome/browser/extensions/extension_webrequest_api_constants.cc
index 460e21f..32a6f4c 100644
--- a/chrome/browser/extensions/extension_webrequest_api_constants.cc
+++ b/chrome/browser/extensions/extension_webrequest_api_constants.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -13,6 +13,7 @@ const char kRedirectUrlKey[] = "redirectUrl";
const char kRequestIdKey[] = "requestId";
const char kStatusCodeKey[] = "statusCode";
const char kTabIdKey[] = "tabId";
+const char kTimeStampKey[] = "timeStamp";
const char kTypeKey[] = "type";
const char kUrlKey[] = "url";