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

Unified Diff: mojo/edk/util/cond_var.h

Issue 1426343002: EDK: Move mutex.*, cond_var.*, and thread_annotations.h to //mojo/edk/util. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oops Created 5 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 | « mojo/edk/util/BUILD.gn ('k') | mojo/edk/util/cond_var.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/util/cond_var.h
diff --git a/mojo/edk/system/cond_var.h b/mojo/edk/util/cond_var.h
similarity index 87%
rename from mojo/edk/system/cond_var.h
rename to mojo/edk/util/cond_var.h
index 1d0497289a89608bb4323e56331d12d5ba426d54..68b0fdd1aff599653d99f2948cc18b0b541f6f08 100644
--- a/mojo/edk/system/cond_var.h
+++ b/mojo/edk/util/cond_var.h
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// A condition variable class (to be used with |mojo::system::Mutex|).
+// A condition variable class (to be used with |mojo::util::Mutex|).
-#ifndef MOJO_EDK_SYSTEM_COND_VAR_H_
-#define MOJO_EDK_SYSTEM_COND_VAR_H_
+#ifndef MOJO_EDK_UTIL_COND_VAR_H_
+#define MOJO_EDK_UTIL_COND_VAR_H_
#include <pthread.h>
#include <stdint.h>
-#include "mojo/edk/system/thread_annotations.h"
+#include "mojo/edk/util/thread_annotations.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
-namespace system {
+namespace util {
class Mutex;
@@ -60,7 +60,7 @@ class CondVar {
MOJO_DISALLOW_COPY_AND_ASSIGN(CondVar);
};
-} // namespace system
+} // namespace util
} // namespace mojo
-#endif // MOJO_EDK_SYSTEM_COND_VAR_H_
+#endif // MOJO_EDK_UTIL_COND_VAR_H_
« no previous file with comments | « mojo/edk/util/BUILD.gn ('k') | mojo/edk/util/cond_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698