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

Unified Diff: base/time/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: Fix warnings Created 7 years, 10 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 | « base/time/clock.h ('k') | base/time/default_clock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/clock.cc
diff --git a/chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js b/base/time/clock.cc
similarity index 66%
copy from chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js
copy to base/time/clock.cc
index d0f305ef89a07f21e9ac69a38e54f16877364fc4..34dc37e38b53fb6f08324d78b53eda418732f598 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js
+++ b/base/time/clock.cc
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-console.log('INJECTOR: Loaded injector!');
+#include "base/time/clock.h"
-chrome.tabs.create({ url: "test.html" });
+namespace base {
+
+Clock::~Clock() {}
+
+} // namespace base
« no previous file with comments | « base/time/clock.h ('k') | base/time/default_clock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698