Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 #ifndef NET_BASE_BUILD_TIME_ | |
| 6 #define NET_BASE_BUILD_TIME_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "net/base/net_export.h" | |
| 10 | |
| 11 namespace net { | |
| 12 | |
| 13 // GetDaysSinceBuild returns the number of days since the current binary was | |
| 14 // built. | |
| 15 // | |
| 16 // This uses the __DATE__ macro, which doesn't trigger a rebuild when it | |
| 17 // changes. However, official builds will always be rebuilt from scratch. | |
| 18 int NET_EXPORT GetDaysSinceBuild(); | |
|
wtc
2011/11/08 19:43:40
This function should be in src/base. I am a littl
| |
| 19 | |
| 20 } // namespace net | |
| 21 | |
| 22 #endif // NET_BASE_BUILD_TIME_ | |
| OLD | NEW |