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

Unified Diff: base/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: Address comments 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
Index: base/tick_clock.cc
diff --git a/chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js b/base/tick_clock.cc
similarity index 64%
copy from chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js
copy to base/tick_clock.cc
index d0f305ef89a07f21e9ac69a38e54f16877364fc4..520c568fb80800a81fc10d4c4f8e963a42f3573e 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js
+++ b/base/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/tick_clock.h"
-chrome.tabs.create({ url: "test.html" });
+namespace base {
+
+TickClock::~TickClock() {}
+
+} // namespace base
« no previous file with comments | « base/tick_clock.h ('k') | media/base/clock.h » ('j') | media/base/pipeline_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698