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

Unified Diff: chrome/browser/network_time/network_time.h

Issue 296453005: Componentize chrome/browser/network_time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix iOS Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/network_time/OWNERS ('k') | chrome/browser/network_time/network_time_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/network_time/network_time.h
diff --git a/chrome/browser/network_time/network_time.h b/chrome/browser/network_time/network_time.h
deleted file mode 100644
index 90d5a938e2aae11a557e32f5083ad5af94bf1517..0000000000000000000000000000000000000000
--- a/chrome/browser/network_time/network_time.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef CHROME_BROWSER_NETWORK_TIME_NETWORK_TIME_H_
-#define CHROME_BROWSER_NETWORK_TIME_NETWORK_TIME_H_
-
-#include "base/time/time.h"
-
-// NetworkTime is a wrapper for Time that indicates that the underlying Time
-// object represents real (network) time. This is to force conversions (from
-// local to network time and vice versa) to be explicit.
-class NetworkTime {
- public:
- NetworkTime() {}
- explicit NetworkTime(base::Time t) : time_internal_(t) {}
- ~NetworkTime() {}
-
- base::Time GetTime() const {
- return time_internal_;
- }
-
- private:
- // Network time value.
- base::Time time_internal_;
-};
-
-#endif // CHROME_BROWSER_NETWORK_TIME_NETWORK_TIME_H_
« no previous file with comments | « chrome/browser/network_time/OWNERS ('k') | chrome/browser/network_time/network_time_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698