| Index: chrome/common/time_format.h
|
| diff --git a/chrome/common/time_format.h b/chrome/common/time_format.h
|
| index d94ac14e30c0d436c5064349b9d39ec63cbab00c..f6612121a755f666052ab2ac87e48751d454b871 100644
|
| --- a/chrome/common/time_format.h
|
| +++ b/chrome/common/time_format.h
|
| @@ -2,12 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_COMMON_TIME_FORMAT_H__
|
| -#define CHROME_COMMON_TIME_FORMAT_H__
|
| +#ifndef CHROME_COMMON_TIME_FORMAT_H_
|
| +#define CHROME_COMMON_TIME_FORMAT_H_
|
| #pragma once
|
|
|
| -// This file defines methods to format time values as strings.
|
| -
|
| +#include "base/basictypes.h"
|
| #include "base/string16.h"
|
|
|
| namespace base {
|
| @@ -15,6 +14,7 @@ class Time;
|
| class TimeDelta;
|
| }
|
|
|
| +// Methods to format time values as strings.
|
| class TimeFormat {
|
| public:
|
| // TimeElapsed, TimeRemaining and TimeRemainingShort functions:
|
| @@ -46,6 +46,9 @@ class TimeFormat {
|
| // time once at the beginning and pass it for each computation.
|
| static string16 RelativeDate(const base::Time& time,
|
| const base::Time* optional_midnight_today);
|
| +
|
| + private:
|
| + DISALLOW_IMPLICIT_CONSTRUCTORS(TimeFormat);
|
| };
|
|
|
| -#endif // CHROME_COMMON_TIME_FORMAT_H__
|
| +#endif // CHROME_COMMON_TIME_FORMAT_H_
|
|
|