diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-05 00:43:31 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-05 00:43:31 +0000 |
commit | cd31c7f8e4514670ac8618afd1450c9146feff70 (patch) | |
tree | d408dbfa7538c66a026c13beb6ff090a0a51ee6a /net/net.gyp | |
parent | 558db84073d837b5ff0b76f5bf4c9c7846422ebf (diff) | |
download | chromium_src-cd31c7f8e4514670ac8618afd1450c9146feff70.zip chromium_src-cd31c7f8e4514670ac8618afd1450c9146feff70.tar.gz chromium_src-cd31c7f8e4514670ac8618afd1450c9146feff70.tar.bz2 |
Add get_server_time utility
get_server_time makes a request to an HTTP/HTTPS server and snarfs
the server time from the HTTP headers.
The code here will eventually be adapted to track "sane time" (see
design document linked from the bug).
Also update usage comments of URLFetcher to note that a request
context has to be set.
BUG=146090
Review URL: https://chromiumcodereview.appspot.com/10907039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154868 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index 90b5e8f..6b00c158 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -1868,6 +1868,19 @@ ], }, { + 'target_name': 'get_server_time', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:base', + '../base/base.gyp:base_i18n', + '../build/temp_gyp/googleurl.gyp:googleurl', + 'net', + ], + 'sources': [ + 'tools/get_server_time/get_server_time.cc', + ], + }, + { 'target_name': 'net_watcher', 'type': 'executable', 'dependencies': [ |