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

Unified Diff: components/network_time/network_time_tracker_unittest.cc

Issue 296453005: Componentize chrome/browser/network_time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix iOS Created 6 years, 6 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 | « components/network_time/network_time_tracker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/network_time/network_time_tracker_unittest.cc
diff --git a/chrome/browser/network_time/network_time_tracker_unittest.cc b/components/network_time/network_time_tracker_unittest.cc
similarity index 97%
rename from chrome/browser/network_time/network_time_tracker_unittest.cc
rename to components/network_time/network_time_tracker_unittest.cc
index 6cd99724e1910ac641fd059b08fbe4bc8fc7d969..09d1c19e77007dff2ecbad0274a3992e08f1f6d1 100644
--- a/chrome/browser/network_time/network_time_tracker_unittest.cc
+++ b/components/network_time/network_time_tracker_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/network_time/network_time_tracker.h"
+#include "components/network_time/network_time_tracker.h"
#include <math.h>
@@ -11,6 +11,8 @@
#include "base/time/tick_clock.h"
#include "testing/gtest/include/gtest/gtest.h"
+namespace network_time {
+
namespace {
// These are all in milliseconds.
@@ -157,3 +159,5 @@ TEST_F(NetworkTimeTrackerTest, NetworkTimeUpdates) {
old_ticks);
EXPECT_TRUE(ValidateExpectedTime());
}
+
+} // namespace network_time
« no previous file with comments | « components/network_time/network_time_tracker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698