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

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: 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/panels/context_menu/panel.js b/base/tick_clock.cc
similarity index 64%
copy from chrome/test/data/panels/context_menu/panel.js
copy to base/tick_clock.cc
index 58cb34ee3d4a63ea5f6571ee283826d5a45fd9d4..520c568fb80800a81fc10d4c4f8e963a42f3573e 100644
--- a/chrome/test/data/panels/context_menu/panel.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.
-var background_page = chrome.extension.getBackgroundPage();
-background_page.panelCallback();
+#include "base/tick_clock.h"
+namespace base {
+
+TickClock::~TickClock() {}
+
+} // namespace base

Powered by Google App Engine
This is Rietveld 408576698