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

Unified Diff: base/clock.cc

Issue 11607003: Add a Clock and TickClock interface for mocking out time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « base/clock.h ('k') | base/default_clock.h » ('j') | base/default_clock.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/clock.cc
diff --git a/chrome/browser/resources/extension_resource/demo/library.js b/base/clock.cc
similarity index 66%
copy from chrome/browser/resources/extension_resource/demo/library.js
copy to base/clock.cc
index 167786a82e94988c5933c4f192832cb08759e6c4..9ff65b5f9ead89902f0f918fa8a1233b0041c1d3 100644
--- a/chrome/browser/resources/extension_resource/demo/library.js
+++ b/base/clock.cc
@@ -2,4 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var _demo = {};
+#include "base/clock.h"
+
+namespace base {
+
+Clock::~Clock() {}
+
+} // namespace base
« no previous file with comments | « base/clock.h ('k') | base/default_clock.h » ('j') | base/default_clock.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698