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

Unified Diff: base/time/tick_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/tick_clock.h ('k') | media/base/clock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/tick_clock.cc
diff --git a/chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js b/base/time/tick_clock.cc
similarity index 62%
copy from chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js
copy to base/time/tick_clock.cc
index d0f305ef89a07f21e9ac69a38e54f16877364fc4..495805c26a9735fce3ac34a6199ab3691c810de1 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js
+++ b/base/time/tick_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/tick_clock.h"
-chrome.tabs.create({ url: "test.html" });
+namespace base {
+
+TickClock::~TickClock() {}
+
+} // namespace base
« no previous file with comments | « base/time/tick_clock.h ('k') | media/base/clock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698