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

Unified Diff: mojo/common/handle_watcher.h

Issue 64973002: Moves some files into mojo/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « no previous file | mojo/common/handle_watcher.cc » ('j') | mojo/common/scoped_message_pipe.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/handle_watcher.h
diff --git a/mojo/shell/handle_watcher.h b/mojo/common/handle_watcher.h
similarity index 88%
rename from mojo/shell/handle_watcher.h
rename to mojo/common/handle_watcher.h
index 950a14592998d2e4f9ca0dc7c5ff3412242c6256..8e04aa707e2a4803f80655a03e319e5ec5b846b4 100644
--- a/mojo/shell/handle_watcher.h
+++ b/mojo/common/handle_watcher.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_SHELL_HANDLE_WATCHER_H_
-#define MOJO_SHELL_HANDLE_WATCHER_H_
+#ifndef MOJO_COMMON_HANDLE_WATCHER_H_
+#define MOJO_COMMON_HANDLE_WATCHER_H_
#include "base/basictypes.h"
#include "base/callback_forward.h"
#include "base/memory/scoped_ptr.h"
+#include "mojo/common/mojo_common_export.h"
#include "mojo/public/system/core.h"
namespace base {
@@ -17,14 +18,14 @@ class TimeTicks;
}
namespace mojo {
-namespace shell {
+namespace common {
namespace test {
class HandleWatcherTest;
}
// HandleWatcher is used to asynchronously wait on a handle and notify a Closure
// when the handle is ready, or the deadline has expired.
-class HandleWatcher {
+class MOJO_COMMON_EXPORT HandleWatcher {
public:
HandleWatcher();
~HandleWatcher();
@@ -64,7 +65,7 @@ class HandleWatcher {
DISALLOW_COPY_AND_ASSIGN(HandleWatcher);
};
-} // namespace shell
+} // namespace common
} // namespace mojo
-#endif // MOJO_SHELL_HANDLE_WATCHER_H_
+#endif // MOJO_COMMON_HANDLE_WATCHER_H_
« no previous file with comments | « no previous file | mojo/common/handle_watcher.cc » ('j') | mojo/common/scoped_message_pipe.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698