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

Unified Diff: mojo/message_pump/time_helper.h

Issue 1262173005: Straightens outs DEPS in mojo/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dep on system_for_component Created 5 years, 4 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 | « mojo/message_pump/mojo_message_pump_export.h ('k') | mojo/message_pump/time_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/message_pump/time_helper.h
diff --git a/mojo/common/time_helper.h b/mojo/message_pump/time_helper.h
similarity index 65%
rename from mojo/common/time_helper.h
rename to mojo/message_pump/time_helper.h
index 365ae04993bde177222ee2f90ef89ed99e85c936..607900043932af9f30a64e81e454ac445f9a3243 100644
--- a/mojo/common/time_helper.h
+++ b/mojo/message_pump/time_helper.h
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_COMMON_TIME_HELPER_H_
-#define MOJO_COMMON_TIME_HELPER_H_
+#ifndef MOJO_MESSAGE_PUMP_TIME_HELPER_H_
+#define MOJO_MESSAGE_PUMP_TIME_HELPER_H_
#include "base/time/time.h"
-#include "mojo/common/mojo_common_export.h"
+#include "mojo/message_pump/mojo_message_pump_export.h"
namespace base {
class TickClock;
@@ -18,17 +18,17 @@ namespace test {
// Sets the TickClock used for getting TimeTicks::Now(). This is currently used
// by both HandleWatcher and MessagePumpMojo.
-MOJO_COMMON_EXPORT void SetTickClockForTest(base::TickClock* clock);
+MOJO_MESSAGE_PUMP_EXPORT void SetTickClockForTest(base::TickClock* clock);
} // namespace test
namespace internal {
// Returns now. Used internally; generally not useful.
-MOJO_COMMON_EXPORT base::TimeTicks NowTicks();
+MOJO_MESSAGE_PUMP_EXPORT base::TimeTicks NowTicks();
} // namespace internal
} // namespace common
} // namespace mojo
-#endif // MOJO_COMMON_TIME_HELPER_H_
+#endif // MOJO_MESSAGE_PUMP_TIME_HELPER_H_
« no previous file with comments | « mojo/message_pump/mojo_message_pump_export.h ('k') | mojo/message_pump/time_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698